Skip to main content

broadcast_tx_commit REST API Endpoint

Returns with the responses from CheckTx and DeliverTx.

Updated on
May 15, 2024
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
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

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
string

Log information of transaction validation

data
null

Additional data related to transaction validation

code
integer

Status code of transaction validation

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