Create Swap Quote
Returns a stateless swap price preview. No funds move and nothing is persisted.
Body
Source token amount.
Source token contract address or ticker symbol, such as "USDT".
Destination token contract address or ticker symbol, such as "XAUT".
Source chain name or chain ID. Defaults to the source token's chain when omitted.
Destination chain name or chain ID. Defaults to the destination token's chain when omitted.
Source wallet address used for the quote.
Destination wallet address used for the quote.
Maximum slippage tolerance in basis points.
Metadata to include with the quote response.
Response
swap quote created
swap_quote Source token amount used for the quote.
Estimated destination token amount.
Quoted exchange rate.
Whop fee in basis points.
Resolved source token details.
Resolved destination token details.
Metadata from the request.
Minimum destination amount after slippage.
Estimated bridge fee for cross-chain swaps.
Estimated time for the swap to complete.
Whether the source token needs approval before swapping.
Source wallet address used for the quote.
Destination wallet address used for the quote.

