Get the best quote
The API selects the resolver quote with the highestmin_dest_amount_lots. The response contains the pricing bounds and metadata for intent creation.
Quotes are time-limited and must be used before they expire.
Request
The API selects
deposit_type; it is not a request field. The response is escrowed for affiliates configured for user broadcast. In the permit flow, a resolver that supports direct deposits can return direct. Direct deposits transfer funds to the resolver without the escrow protection of an escrowed deposit.
optimized is available only for same-chain swaps. Network IDs are Utexo identifiers, not EVM chain IDs.
Response
Quote expiry
expiryis a Unix timestamp in milliseconds.- After this timestamp the quote is no longer valid and must be refreshed.
- Intent creation uses the cached quote. An expired quote must be replaced before intent creation. Creating an intent does not guarantee that a resolver accepts or fulfills it.
source_amount_lots, min_dest_amount_lots, and max_dest_amount_lots are decimal strings in the token’s smallest unit. The corresponding decimals fields define the conversion to whole tokens. The USD fields are JSON numbers.
Intermediate token routing
A resolver can route the source asset through an intermediate token. Theintermediate_ fields identify that token, its decimals, and the minimum and maximum amounts for the source-chain conversion.
Affiliate fees
Specify affiliate fees in the quote request.affiliate_fees is a map that may contain multiple entries, where each key is a sub-affiliate ID. This lets affiliates manage multiple sub-affiliates and set a different fee rate for each.
Request example
fee_bps: "50" is a 0.5% fee.