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
Loading...
Returns
result
object
Loading...
code
integer
Loading...
data
string
Loading...
log
string
Loading...
info
string
Loading...
gas_wanted
string
Loading...
gas_used
string
Loading...
events
array
Loading...
type
string
Loading...
attributes
array
Loading...
key
string
Loading...
value
string
Loading...
index
string
Loading...
codespace
string
Loading...
error
string
Loading...
Request
1curl --location 'https://docs-demo.injective-testnet.quiknode.pro/broadcast_tx?tx=YOUR_TRANSACTION'
1curl --location 'https://docs-demo.injective-testnet.quiknode.pro/broadcast_tx?tx=YOUR_TRANSACTION'
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free