/cosmos/tx/v1beta1/txs/{hash} REST API Endpoint
Path Parameters
hash
string
REQUIRED
The transaction hash to query, encoded as a hex string
Returns
tx
object
Transaction data
body
object
The body object which contains the transaction payload and associated metadata
messages
array
An array of messages containing the operations executed in the transaction
@type
string
Type identifier of the message indicating the specific module and action
signer
string
Address of the account that signed and submitted the message
namespaces
string
Comma-separated list of namespace identifiers associated with the blobs
blob_sizes
integer
Total size in bytes of each blob included in the message
share_commitments
string
Comma-separated list of share commitments used to verify blob inclusion
share_versions
integer
Version number for each share commitment scheme used
memo
string
An optional memo field for adding arbitrary human-readable notes
timeout_height
string
Block height after which the transaction is no longer valid
extension_options
array
An empty array reserved for custom protocol extensions
non_critical_extension_options
array
An empty array for optional extensions that do not affect transaction validity
auth_info
object
Authorization info for the transaction
signer_infos
array
Info about signers of the transaction
public_key
object
Public key of the signer
type
string
The type of the public key
value
string
The value of the public key
mode_info
object
Mode info for signing
single
object
Single mode info
mode
string
Signing mode
multi
object
Multi-signature mode info
bitarray
object
Bit array for multi-signature
extra_bits_stored
integer
Extra bits stored in the bit array
elems
string
Elements of the bit array
mode_infos
array
Info about each signing mode in a multi-signature
sequence
string
Sequence number of the signer
fee
object
Fee information for the transaction
amount
array
Amount of fees for the transaction
denom
string
The denomination of the fee
amount
string
The amount of the fee
gas_limit
string
The gas limit for the transaction
payer
string
The payer of the transaction fees
granter
string
The granter of the transaction fees
tip
object
The optional tip used for transaction fees paid in another denom
amount
array
Array of objects representing the amount of the tip
denom
string
The denomination of the tip
amount
string
The amount of the tip
tipper
string
The address of the account paying for the tip
signatures
array
An array of signatures for the transaction
tx_response
object
The tx_response object which contains the following fields:
height
string
The height of the block in which the transaction was included
txhash
string
The transaction hash
codespace
string
A namespace for the error code
code
integer
Response code
data
string
Data related to the transaction
raw_log
string
The output of the application's logger (raw string)
logs
array
An array of logs
msg_index
integer
Index of the message in the transaction
log
string
The log of the message execution
events
array
An array of events that were emitted during some execution
type
string
Type of the event
attributes
array
An array of attributes
key
string
Attribute key which describes the type of information the value holds
value
string
Attribute value associated with the corresponding key
info
string
Additional information
gas_wanted
string
Amount of gas requested for transaction
gas_used
string
Amount of gas consumed by transaction
tx
object
The tx object which contains the following fields:
type
string
A URL/resource name that uniquely identifies the type of the serialized protocol buffer message
body
object
The body object which contains the transaction payload and associated metadata
messages
array
An array of messages containing the operations executed in the transaction
@type
string
Type identifier of the message indicating the specific module and action
signer
string
Address of the account that signed and submitted the message
namespaces
string
Comma-separated list of namespace identifiers associated with the blobs
blob_sizes
integer
Total size in bytes of each blob included in the message
share_commitments
string
Comma-separated list of share commitments used to verify blob inclusion
share_versions
integer
Version number for each share commitment scheme used
memo
string
An optional memo field for adding arbitrary human-readable notes
timeout_height
string
Block height after which the transaction is no longer valid
extension_options
array
An empty array reserved for custom protocol extensions
non_critical_extension_options
array
An empty array for optional extensions that do not affect transaction validity
auth_info
object
Authorization info for the transaction
signer_infos
array
Info about signers of the transaction
public_key
object
Public key of the signer
type
string
The type of the public key
value
string
The value of the public key
mode_info
object
Mode info for signing
single
object
Single mode info
mode
string
Signing mode
multi
object
Multi-signature mode info
bitarray
object
Bit array for multi-signature
extra_bits_stored
integer
Extra bits stored in the bit array
elems
string
Elements of the bit array
mode_infos
array
Info about each signing mode in a multi-signature
sequence
string
Sequence number of the signer
fee
object
Fee information for the transaction
amount
array
Amount of fees for the transaction
denom
string
The denomination of the fee
amount
string
The amount of the fee
gas_limit
string
The gas limit for the transaction
payer
string
The payer of the transaction fees
granter
string
The granter of the transaction fees
tip
object
The optional tip used for transaction fees paid in another denom
amount
array
Array of objects representing the amount of the tip
denom
string
The denomination of the tip
amount
string
The amount of the tip
tipper
string
The address of the account paying for the tip
signatures
array
An array of signatures for the transaction
timestamp
string
Time of the previous block. For heights > 1, it's the weighted median of the timestamps of the valid votes in the block.LastCommit. For height == 1, it's genesis time.
events
array
An array of events emitted during transaction execution
type
string
The type of the event, typically identifying the module or action that generated it
attributes
array
An array of attributes providing structured key-value metadata for the event
key
string
The attribute key used to categorize the value
value
string
The value corresponding to the key
index
boolean
A flag indicating whether the attribute should be indexed for querying
Request
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free