broadcast_tx REST API Endpoint
Please note that this method blocks until CheckTx returns and reports its result, but does not wait for the transaction to be included in a block. To know when the transaction is included in a block, check for the transaction event using JSON-RPC. See Tendermint official documentation
Query Parameters
tx
string
REQUIRED
The hash of the transaction
Returns
result
The result object which contains the following fields:
code
The status code
data
The data associated with the transaction
log
The log associated with the transaction
codespace
The codespace associated with the transaction
hash
The hash of the transaction
error
The error, if any
Request
1curl --location 'https://docs-demo.cosmos-mainnet.quiknode.pro/broadcast_tx?tx=YOUR_TRANSACTION'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free