Signed order
- Read the catalog.
- Request an executable quote.
- Validate the payload and deployment addresses.
- Obtain any required token approval.
- Request the user’s signature.
- Submit the encoded signature through
POST /order/openfor. - Track delivery and origin settlement.
Wallet-paid order
- Request the applicable wallet-paid quote.
- Validate its transaction or transaction plan.
- Register a Solana plan before broadcast.
- Broadcast the required wallet transactions in order.
- Register an EVM proxy order after broadcast.
- Preserve every transaction and order identifier.
- Track chain evidence through settlement or refund.
Cross-chain preview and prepare
- Request indicative previews while the user edits the request.
- Select a provider from the offers.
- Prepare that provider under a stable
preparationId. - Validate the executable prepared quote.
- Continue with its required execution mechanism.
Same-chain preview and execution
- Request indicative previews while the user edits the request.
- Request an executable quote through
POST /quote. - Validate the returned transaction.
- Obtain any required token approval.
- Broadcast the swap transaction through the wallet.
- Report its transaction identifier through
POST /swaps, where the gateway supports reporting. - Track the transaction to its configured confirmation depth.
POST /quote/prepare.
See same-chain swaps for reporting and replacement rules.
Refund
- Read the order’s chain evidence.
- Check the effective escrow deadline and deposited state.
- Construct or request the chain-specific refund transaction.
- Validate the refund recipient and transaction.
- Request the wallet signature.
- Confirm the origin refund event.