Tx
Transactions broadcast APIs
Returns with the response from CheckTx. Does not wait for DeliverTx result.Deprecated
/broadcast_tx_syncThis method is deprecated in Tendermint v0.36, and will be
removed in v0.37. Use broadcast_tx, which has similar
semantics.
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 https://docs.tendermint.com/master/app-dev/subscribing-to-events-via-websocket.html
See https://docs.tendermint.com/master/tendermint-core/using-tendermint.html#formatting for formatting/encoding rules.
Returns with the response from CheckTx. Does not wait for DeliverTx result.
/broadcast_txThis 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 https://docs.tendermint.com/master/app-dev/subscribing-to-events-via-websocket.html
See https://docs.tendermint.com/master/tendermint-core/using-tendermint.html#formatting for formatting/encoding rules.
Returns right away, with no response. Does not wait for CheckTx nor DeliverTx results.Deprecated
/broadcast_tx_asyncThis method is deprecated in Tendermint v0.36, and will be
removed in v0.37. Use broadcast_tx.
This method submits the transaction and returns immediately without waiting for the transaction to be checked (CheckTx) or committed. Too know when the transaction is included in a block, you can check for the transaction event using JSON-RPC. See https://docs.tendermint.com/master/app-dev/subscribing-to-events-via-websocket.html
See https://docs.tendermint.com/master/tendermint-core/using-tendermint.html#formatting for formatting/encoding rules.
Returns with the responses from CheckTx and DeliverTx.Deprecated
/broadcast_tx_commitThis 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.
WARNING: Use this only for testing and development. For production use, call broadcast_tx.
To know when a transaction is included in a block, check for the transaction event using JSON-RPC. See https://docs.tendermint.com/master/app-dev/subscribing-to-events-via-websocket.html
See https://docs.tendermint.com/master/tendermint-core/using-tendermint.html#formatting for formatting/encoding rules.
Checks the transaction without executing it.
/check_txThe transaction won't be added to the mempool.
Please refer to https://docs.tendermint.com/master/tendermint-core/using-tendermint.html#formatting for formatting/encoding rules.