Skip to main content
When you call signAndBroadcast, the client handles confirmation automatically:
  1. The signed transaction is submitted via broadcastTxSync (CheckTx)
  2. The client polls getTx(txHash) every 3 seconds (configurable)
  3. Once the transaction appears in a block, the DeliverTxResponse is returned

Configuring Timeouts

Control how long the client waits and how often it polls:

Handling Timeouts

If the transaction is not included within the timeout, a TimeoutError is thrown. The transaction may still succeed — it could be sitting in the mempool:
A TimeoutError does not mean the transaction failed. The signed bytes were already submitted to the mempool. Always check with getTx before resubmitting, or you risk sending the transaction twice.

Next Steps

Error Handling

Handle CheckTx rejections, execution failures, and timeouts.

Events & Lookups

Read transaction events and look up past transactions.