Skip to main content
A funding intent says what you need. A quote says, for the asset your user holds, how much they send and which route turns it into your asset. The destination is always the intent’s; a quote only chooses the source. If your user already holds the asset you asked for, skip quotes entirely: the intent is payable as it is.

Quote, then lock

Selecting locks the route. From then on the intent’s funding_instructions ask for the quote’s asset and amount, and the hosted checkout shows the same. There is no execute call: the route runs automatically once the payment is confirmed, exactly as quoted. A moving market never re-prices a locked quote.

Two kinds of quote

Your amount is fixed. The quote says the most your user sends, including slippage. source.expected_amount is what the route should use, and anything unused is refunded to your user after the swap.

Routes

Your user always sees one route, one amount and one deposit address, whatever happens behind it.

Fees and slippage

fees lists every fee by category (NETWORK, PROVIDER, SWAP, BRIDGE, USEROUTR) with a total in the source asset. Useroutr adds nothing to the rate: a pool’s own fee is part of its price and shows in expected_amount. slippage_bps applies to swaps only and defaults to 100 (1%); pass 1 to 5000 to change it.

Expiry and locks

A quote can be selected until expires_at. Once locked, the lock lasts until lock_expires_at if nothing arrives; after a payment arrives the lock holds until the route finishes. If a lock lapses unpaid, the intent goes back to its own asset and you can quote again.