Parameters
- idstringREQUIRED
The transaction id for which the transaction data needs to be fetched
- block_idstring
A block ID optional parameter
- collection_idstring
A collection ID optional parameter
- expandstring
A comma-separated list indicating which properties of the content to expand
- selectstring
A comma-separated list indicating which properties of the content to return
Returns
- idstring
The id of the transaction
- scriptstring
The Base64 encoded content of the Cadence script
- argumentsarray
A list of arguments each encoded as Base64 passed in the JSON-Cadence interchange format
- reference_block_idstring
The reference block ID for the transaction
- gas_limitstring
The limit on the amount of computation a transaction is allowed to perform
- payerstring
The 8-byte address of an account
- proposal_keyobject
It contains information about the account that proposed the transaction. It contains the following fields:
- addressstring
The address of the account that proposed the transaction
- key_indexstring
The index of the key used by the account to sign the transaction proposal
- sequence_numberstring
The current sequence number of the account that proposed the transaction
- authorizersarray
An array of addresses for the accounts that have authorized the transaction
- payload_signaturesarray
It contains an array of signatures for the transaction payload. Each signature is associated with a specific key, identified by the following fields:
- addressstring
The address of the account that owns the key used to sign the payload
- key_indexstring
The index of the key used to sign the payload
- signaturestring
The digital signature generated by the key for the payload
- envelope_signaturesarray
An array of signatures for the transaction envelope. Each signature is associated with a specific key, identified by the following fields:
- addressstring
The address of the account that owns the key used to sign the envelope
- key_indexstring
The index of the key used to sign the envelope
- signaturestring
The digital signature generated by the key for the envelope
- resultobject
The result object which contains the following fields:
- block_idstring
The ID of the block that contains the transaction
- executionstring
It indicates whether the transaction execution has been completed or is still pending
- statusstring
The overall status of the transaction execution
- status_codeinteger
The numeric code associated with the transaction execution status
- error_messagestring
The message indicating any errors that occurred during transaction execution
- computation_usedstring
The amount of computation used by the transaction
- eventsarray
An array of events that were emitted during the execution of the transactions. It contains the following fields:
- typestring
The type of the event, which is typically a string that identifies the purpose or function of the event
- transaction_idstring
The unique id of the transaction that emitted the event
- transaction_indexstring
The index of the transaction that emitted the event
- event_indexstring
The index of the event within the transaction
- payloadstring
The data payload associated with the event, which can be used to provide additional information about the event
- _linksobject
An object that contains links to related resources or endpoints
- _selfstring
It is a link that refers to the current resource itself. In this case, it is the block resource requested
- _expandableobject
The items inside the _expandable object can be expanded by passing as the query parameter in the request. For this method, the parameter result has been added to the request
- _linksobject
An object that contains links to related resources or endpoints
- _selfstring
It is a link that refers to the current resource itself. In this case, it is the block resource requested