/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 of the transaction
messages
array
Messages included in the transaction
type_url
string
The type URL of the message
exchange_rates
string
The exchange rates
feeder
string
The feeder address
validator
string
The validator address
memo
string
Memo field for additional info
timeout_height
string
Block height after which this transaction will not be processed
extension_options
array
Extension options for advanced transaction processing
type_url
string
The type URL of the extension
value
string
The value of the extension
non_critical_extension_options
array
Non-critical extension options
type_url
string
The type URL of the non-critical extension
value
string
The value of the non-critical extension
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_url
string
The type URL 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_url
string
A URL/resource name that uniquely identifies the type of the serialized protocol buffer message
value
string
A valid serialized protocol buffer of the above specified type
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.
Request
1curl --location 'https://docs-demo.cosmos-mainnet.quiknode.pro/cosmos/tx/v1beta1/txs/350569FAB5EBEF804CD9762C74882D8387CF05732C70DCA0DABB8E72D0FE418A'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free