broadcast_tx_commit REST API Endpoint
Please use this method only for testing and development. For production use, call broadcast_tx. Additionally, This method waits for the transaction to be checked (CheckTx) and makes a best effort to wait for it to be committed into a block before returning. It will report an error if the request times out before the transaction commits. If CheckTx or DeliverTx fails, the RPC will succeed and report the failing (non-zero) ABCI result code.
Query Parameters
tx
string
REQUIRED
The hash of the transaction
Returns
error
The error, if any
result
object
The result object which contains the following fields:
height
The height of the block
hash
The hash of the transaction
deliver_tx
object
The deliver_tx object which contains the following fields:
log
Log information of transaction delivery
data
Additional data related to transaction delivery
code
Status code of transaction delivery
check_tx
object
The check_tx object which contains the following fields:
log
Log information of transaction validation
data
Additional data related to transaction validation
code
Status code of transaction validation
Request
1curl --location 'https://docs-demo.cosmos-mainnet.quiknode.pro/broadcast_tx_commit?tx=YOUR_TRANSACTION'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free