Skip to main content

broadcast_tx_commit

GET 

/broadcast_tx_commit

Returns with the responses from CheckTx and DeliverTx. IMPORTANT: use only for testing and development. In production, use BroadcastTxSync or BroadcastTxAsync. You can subscribe for the transaction result using JSONRPC via a websocket. See https://docs.cometbft.com/v0.38.x/core/subscription.html

CONTRACT: only returns error if mempool.CheckTx() errs or if we timeout waiting for tx to commit.

If CheckTx or DeliverTx fail, no error will be returned, but the returned result will contain a non-OK ABCI code.

Please refer to formatting/encoding rules for additional details

Request

Responses

empty answer