broadcast_tx_async
Tx
broadcast_tx_async
Returns right away, with no response. Does not wait for CheckTx nor DeliverTx results.
If you want to be sure that the transaction is included in a block, you can subscribe for the result using JSONRPC via a websocket. See https://docs.cosmos.network/cometbft/v0.38/docs/core/Subscribing-to-events-via-Websocket If you haven’t received anything after a couple of blocks, resend it. If the same happens again, send it to some other node. A few reasons why it could happen:
- malicious node can drop or pretend it had committed your tx
- malicious proposer (not necessary the one you’re communicating with) can drop transactions, which might become valid in the future (https://github.com/tendermint/tendermint/issues/3322)
- node can be offline
Please refer to formatting/encoding rules for additional details
GET
broadcast_tx_async
Documentation Index
Fetch the complete documentation index at: https://docs.cosmos.network/llms.txt
Use this file to discover all available pages before exploring further.