Skip to main content

broadcast_tx REST API Endpoint

Returns with the response from CheckTx. Does not wait for DeliverTx result.

Updated on
Mar 21, 2025

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
object
The result 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
error
string
The error, if any
Request
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free