Skip to content

Why are solders.transaction_status.Encoded(*)TransactionWithStatusMeta classes missing the attribute transaction_metadata when present in the RPC json response? #142

@wasertech

Description

@wasertech

For instance if I use solana-py's Client.get_transaction to get a solders.rpc.responses.GetTransactionResp that has a value attribute of type solders.transaction_status.EncodedConfirmedTransactionWithStatusMeta it has no meta attribute when it is clearly present in the RPC response because it can be accessed using solders.transaction_metadata.TransactionMetadata.from_json(json.dumps(json.loads(EncodedConfirmedTransactionWithStatusMeta.to_json())['meta'])). This isn't very elegant so I am wondering; how are we supposed to access it properly?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions