Skip to main content

check_tx REST API Endpoint

Checks the transaction without executing it.

Updated on
May 15, 2024

check_tx REST API Endpoint

Please refer to Tendermint official documentation for formatting/encoding rules.

Query Parameters

tx
string
REQUIRED
The transaction

Returns

error
The error field, if any
result
object
The result object which contains the following fields:
code
Result code indicating success
data
Additional data associated with the result
log
Log information from the transaction execution
info
Additional information about the transaction execution
gas_wanted
Amount of gas requested for the transaction
gas_used
Amount of gas actually used by the transaction
events
array
Events emitted during the transaction execution
type
The type of the event
attributes
array
The attributes associated with the event
key
Key of the attribute
value
Value of the attribute
index
Indicates if the attribute is indexed
codespace
Codespace associated with the transaction result
Request
1
curl --location 'https://docs-demo.cosmos-mainnet.quiknode.pro/check_tx?tx=TRANSACTION_HASH'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free