Skip to Content
FeaturesAsync Transactions

Async Transactions

Async transaction mode decouples signing and broadcasting from the main flow. Instead of blocking until the transaction confirms, the request returns immediately with a pendingTxId, and progress is reported via events.

This enables non-blocking UX in apps and efficient batch operations in agent workflows.

Event Lifecycle

waap_sign_pending → waap_sign_complete → waap_tx_pending → waap_tx_confirmed ↘ waap_2fa_required ↘ waap_sign_failed ↘ waap_tx_failed

Events Reference

EventWhen it firesKey payload fields
waap_sign_pendingBackground signing has startedpendingTxId, txRequest
waap_2fa_requiredHigh-risk transaction requires 2FApendingTxId
waap_sign_completeSigning finished (before broadcast)pendingTxId, signature, serializedTx
waap_sign_failedError during signingpendingTxId, error
waap_tx_pendingTransaction broadcast; waiting for confirmationpendingTxId, txHash
waap_tx_confirmedTransaction confirmed on-chainpendingTxId, txHash, receipt
waap_tx_failedError during broadcast or confirmationpendingTxId, error, stage

For full implementation details including the useWaapTransaction React hook and event payload shapes, see the Transactions SDK guide.