Skip to main content

Quoting Routes

Quoting calculates available swap routes without executing anything on-chain. Use quotes to show users their options before they confirm a transaction.

Common request parameters

All quote methods accept these base fields:

quoteBest

Returns the single route with the highest expected output.

Example

Response: QuoteResponseInterface


quoteAll

Returns all available routes, sorted by expected output (best first).

Example

Response: QuoteAllInterface


quoteDepositTrades

Returns routes where the user sends funds directly to a deposit address — no on-chain transaction is required from the source wallet. Useful for CEXes, hardware wallets, or any scenario where the user can’t sign a transaction.
The request is the same as quoteAll but fromAddress is optional and the response only contains deposit-based providers (e.g. ChangeNOW, Exolix, SimpleSwap).

Example


Comparing providers


Next step

Once you have a quote and its id, pass it to sdk.swap() to get transaction data.