broadcast_tx_sync
Tx
broadcast_tx_sync
Returns with the response from CheckTx. Does not wait for DeliverTx result.
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)
Please refer to formatting/encoding rules for additional details
GET
broadcast_tx_sync
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.