Skip to main content
A Swap converts value between supported tokens, chains, or wallet destinations, or between fiat currencies at the mid-market rate, for an account or user. A swap quote previews the expected output, fees, and approval requirements before you create the swap. Use the Swaps API to quote a conversion, create the swap, list recent swaps, and retrieve a swap’s status until it completes.

Endpoints

Attributes

string
required
Swap ID.
string
required
Account that owns the swap: a business ID prefixed biz_, or the user ID for a personal account.
string | null
Latest error returned for a failed swap.
string
required
string
required
Current swap status. complete and failed are terminal.Available options: queued, working, complete, failed
string[]
required
On-chain transaction hashes produced by the swap.
string | null
required
User whose personal account owns the swap, prefixed user_. Null for a business account.
Swap