Query Parameters
- hashstringREQUIRED
The hash of a transaction to retrieve
- provebooleanREQUIRED
Adds proofs of the transaction's inclusion in the block
Returns
- resultobject
The result object which contains the following fields:
- hashstring
The unique hash identifier of the transaction
- heightstring
The block height where the transaction is included, representing its position in the blockchain
- indexinteger
The index position of the transaction within the block
- tx_resultobject
The tx_result object which contains the following fields:
- codeinteger
The status code for the transaction, with '0' indicating success
- datastring
Encoded data payload containing transaction-specific response information
- logstring
Log of transaction events in JSON format, detailing each action within the transaction
- infostring
Additional information about the transaction, often provided for debugging or descriptive purposes
- gas_wantedstring
The amount of gas requested for the transaction
- gas_usedstring
The actual amount of gas consumed during the transaction's execution
- eventsarray
An array of events triggered by the transaction
- typestring
Type of event, such as 'coin_spent' or 'message'
- attributesarray
An array of attributes providing details for each event
- keystring
Key of the attribute, indicating a specific aspect of the event
- valuestring
Value associated with the key, providing additional details for the event
- indexboolean
Indicates if this attribute is indexed for easier querying
- codespacestring
Namespace for the error code, if an error occurred
- signersarray
(Optional) Bech32 addresses of transaction signers
- txstring
The raw transaction data in encoded format
- proofobject
The proof object which contains the following fields:
- dataarray
Encoded data segments representing the proof structure
- share_proofsarray
An array of share_proofs, each verifying a piece of the data
- endinteger
The endpoint of the data segment verified by this share proof
- nodesarray
Encoded nodes in the proof, forming part of the verification path
- namespace_idstring
Identifier for the namespace to which this proof belongs
- row_proofobject
The row_proof object which contains the following fields:
- row_rootsarray
Encoded roots of the rows, verifying the data row by row
- proofsarray
An array of proof objects providing the verification details for each segment
- totalstring
Total number of elements covered by this proof
- indexstring
Index position of the segment within the proof
- leaf_hashstring
Hash of the leaf node, used for verifying this segment
- auntsarray
Intermediate nodes in the Merkle tree for verification
- start_rowinteger
The starting row for this row proof, indicating where verification begins
- end_rowinteger
The ending row for this row proof, indicating where verification concludes
- namespace_versioninteger
Version identifier for the namespace used in this proof