/swap
POST /swap
Authorizations
Section titled “Authorizations ”Request Body required
Section titled “Request Body required ”object
The ID of the route to swap
Address to send asset from
Recipient address to send asset to
Whether to disable balance check
Whether to disable estimate gas
Whether to allow smart contract sender
Whether to allow smart contract receiver
Whether to disable security checks
Whether to override slippage validation on quote refresh
Responses
Section titled “ Responses ”Default Response
object
Asset to sell
Sell amount
Asset to buy
Buy amount
Buy amount max slippage
Expected Buy amount
Expected Buy amount max slippage
object
Route ID
Expiration
object
Time to receive inbound asset in seconds
Time to swap assets in seconds
Time to receive outbound asset in seconds
Total time in seconds
Total slippage in bps
object
Asset to sell
Sell amount
Asset to buy
Buy amount
Buy amount max slippage
Expected Buy amount
Expected Buy amount max slippage
object
object
Source address
Destination address
Target address
Inbound address
Memo to include in the transaction
object
Address of the recipient
Address of the sender
Gas limit
Gas price
Value to send
Data to send
object
object
object
object
object
object
object
Asset name
Price in USD
Asset image
Price impact
Approval address for swap
object
object
object
object
object
object
object
object
object
object
object
Indicates if the quote was refreshed
The unique swap ID for tracking
Optional approval transaction if ERC-20 approval is required before swap
object
Token contract address
User wallet address
ETH value (always ‘0’ for approvals)
Encoded approval call data
Estimated gas limit
Current gas price
Default Response
object
Default Response
object
Default Response