Quote a route for funding the intent from a source asset
Discovers, validates, scores and selects the best route from the given source asset to the intent’s destination requirement, and returns it as a quote. The destination comes from the funding intent; only the source is chosen here. By default (type EXACT_OUTPUT) the intent’s requirement is fixed and source.amount in the response is what the payer must send so that it arrives. With type EXACT_INPUT the request’s source.amount fixes what the payer sends and the response’s destination.amount is what the route delivers, which must cover the requirement; anything delivered above it is refunded to the payer. An optional Idempotency-Key replays the original result.
Authorizations
Application API authentication for developer backends: Authorization: Bearer ur_test_... or ur_live_.... Resolves the application, its environment and the key's status. Never a dashboard login.
Headers
1 - 255Path Parameters
1 - 64Body
Response
Default Response
quote EXACT_INPUT, EXACT_OUTPUT ACTIVE, SELECTED, LOCKED, EXECUTING, COMPLETED, EXPIRED, FAILED, CANCELLED testnet, mainnet, local -9007199254740991 <= x <= 9007199254740991