Skip to main content

broadcast_tx_commit REST API Endpoint

Returns with the responses from CheckTx and DeliverTx.

Updated on
Nov 7, 2024

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
string
The error, if any
result
object
The result object which contains the following fields:
height
string
The height of the block
hash
string
The hash of the transaction
deliver_tx
object
The deliver_tx object which contains the following fields:
log
string
Log information of transaction delivery
data
string
Additional data related to transaction delivery
code
string
Status code of transaction delivery
check_tx
object
The check_tx object which contains the following fields:
log
string
Log information of transaction validation
data
string
Additional data related to transaction validation
code
string
Status code of transaction validation
Request
1
curl --location 'https://docs-demo.celestia-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