Skip to main content

broadcast_tx_commit REST API Endpoint

Returns with the responses from CheckTx and DeliverTx.

Updated on
Mar 17, 2026
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

result
object

The result object which contains the following fields:

check_tx
object

The check_tx object which contains the following fields:

code
integer

The status code of the transaction verification

data
string

A base64-encoded string containing additional data related to the transaction verification

log
string

A human-readable log providing additional details about the transaction validation process

info
string

An optional field containing extra information about the transaction verification

gas_wanted
string

The amount of gas requested to execute the transaction

gas_used
string

The actual amount of gas consumed during the transaction verification

events
array

Events emitted during the transaction execution

type
string

The type of the event

attributes
array

The attributes associated with the event

key
string

Key of the attribute

value
string

Value of the attribute

index
string

Indicates if the attribute is indexed

codespace
string

The namespace for the error code, categorizing errors within a specific blockchain module

tx_result
object

The tx_result object which contains the following fields:

code
integer

The execution status of the transaction

data
string

A base64-encoded string containing response data from the transaction execution

log
string

A human-readable log that provides additional details about the transaction execution

info
string

Additional metadata related to the transaction execution

gas_wanted
string

The amount of gas initially allocated for executing the transaction

gas_used
string

The actual amount of gas consumed during the transaction execution

events
array

Events emitted during the transaction execution

type
string

The type of the event

attributes
array

The attributes associated with the event

key
string

Key of the attribute

value
string

Value of the attribute

index
string

Indicates if the attribute is indexed

codespace
string

The namespace for error codes, categorizing errors within specific blockchain modules

hash
string

The unique transaction hash, represented as a cryptographic string, used to identify the transaction

height
string

The block height at which the transaction was confirmed

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