Skip to main content

/cosmos/tx/v1beta1/txs/{hash} REST API Endpoint

Fetches a tx by hash.

Updated on
Mar 17, 2026

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
string

Type URL of the message

granter
string

Address granting the authorization

grantee
string

Address receiving the authorization

grant
object

Authorization grant details

authorization
object

The authorization definition

@type
string

Type URL of the authorization

max_tokens
object

Maximum tokens allowed under this authorization

denom
string

Token denomination

amount
string

Token amount (as a string integer)

allow_list
object

Allow-list of validator addresses permitted by this authorization

address
array

List of allowed validator operator addresses

authorization_type
string

Authorization action type (e.g., AUTHORIZATION_TYPE_DELEGATE)

expiration
null|string

Expiration time of the grant (RFC3339) or null if not set

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

non_critical_extension_options
array

Non-critical extension options

auth_info
object

Authorization info for the transaction

signer_infos
array

Information about transaction signers

public_key
object

Public key of the signer

@type
string

Type URL of the public key

key
string

Base64-encoded public key

mode_info
object

Signing mode information

single
object

Single signer mode

mode
string

Signing mode (e.g., SIGN_MODE_EIP_712)

sequence
string

Account sequence number

fee
object

Transaction fee information

amount
array

Fee amount(s)

denom
string

Fee denomination

amount
string

Fee amount

gas_limit
string

Maximum gas allowed for the transaction

payer
string

Address paying the fee

granter
string

Granter of the fee allowance

tip
null|object

Optional tip for transaction prioritization or null if not set

signatures
array

List of base64-encoded transaction signatures

tx_response
object

The tx_response object returned after broadcasting a transaction

height
string

The block height where the transaction was included

txhash
string

The transaction hash

codespace
string

A namespace for the error code

code
integer

Response code (0 indicates success)

data
string

Transaction result data (hex-encoded)

raw_log
string

Raw log output

logs
array

Structured logs emitted by the transaction

info
string

Additional execution information

gas_wanted
string

Requested gas for the transaction

gas_used
string

Gas actually used by the transaction

tx
object

The decoded transaction object included in the response

@type
string

Type URL of the transaction object

body
object

Transaction body

messages
array

Messages included in the transaction

@type
string

Type URL of the message

granter
string

Address granting the authorization

grantee
string

Address receiving the authorization

grant
object

Authorization grant details

authorization
object

The authorization definition

@type
string

Type URL of the authorization

max_tokens
object

Maximum tokens allowed under this authorization

denom
string

Token denomination

amount
string

Token amount (as a string integer)

allow_list
object

Allow-list of validator addresses permitted by this authorization

address
array

List of allowed validator operator addresses

authorization_type
string

Authorization action type (e.g., AUTHORIZATION_TYPE_DELEGATE)

expiration
null|string

Expiration time of the grant (RFC3339) or null if not set

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

non_critical_extension_options
array

Non-critical extension options

auth_info
object

Authorization info for the transaction

signer_infos
array

Information about transaction signers

public_key
object

Public key of the signer

@type
string

Type URL of the public key

key
string

Base64-encoded public key

mode_info
object

Signing mode information

single
object

Single signer mode

mode
string

Signing mode (e.g., SIGN_MODE_EIP_712)

sequence
string

Account sequence number

fee
object

Transaction fee information

amount
array

Fee amount(s)

denom
string

Fee denomination

amount
string

Fee amount

gas_limit
string

Maximum gas allowed for the transaction

payer
string

Address paying the fee

granter
string

Granter of the fee allowance

tip
null|object

Optional tip for transaction prioritization or null if not set

signatures
array

List of base64-encoded transaction signatures

timestamp
string

Timestamp when the transaction was included (RFC3339)

events
array

Events emitted during transaction execution

type
string

The type of the event

attributes
array

Key-value attribute pairs emitted with the event

key
string

Event attribute key

value
string

Event attribute value

index
boolean

Whether this attribute is indexed for querying

Request
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free