Checkout Flow
This guide walks through the complete checkout flow, from creating a transaction to polling for settlement completion.Overview
The checkout flow follows these steps:- Create a transaction with
createCheckoutTransaction - Attach the source wallet with
attachCheckoutTransactionSource - Quote the conversion with
getCheckoutTransactionQuote - Submit the transaction with
submitCheckoutTransaction(prepares, signs, and broadcasts) - Poll for completion with
getCheckoutTransaction
Full example
Handling cancellation and errors
Polling for status
After submission, pollgetCheckoutTransaction to track progress through execution and settlement states:
Supported Chains
The checkout flow supports the following chains (mainnet only):- BTC
- EVM
- SOL
- SUI
Related
createCheckoutTransaction- Create a transactionattachCheckoutTransactionSource- Attach source walletgetCheckoutTransactionQuote- Get a conversion quotesubmitCheckoutTransaction- Submit for signing and broadcastgetCheckoutTransaction- Poll transaction statecancelCheckoutTransaction- Cancel a transaction