Get a quote for a flow
Fetches a swap quote and stores a versioned snapshot on the flow. Authenticated by the capability sessionToken minted at source.
Authorizations
Headers
Path Parameters
Body
Request body for fetching a quote on a flow.
Optional token address the source funds will originate from for this quote. When omitted, defaults to the canonical native-token sentinel for the previously-attached fromChainName (e.g. the zero address for EVM, 11111111111111111111111111111111 for Solana, 0x2::sui::SUI for Sui, 'bitcoin' for BTC).
255^(?=\S)[\p{L}\p{N}a-zA-Z _.,:!?&%@\/+\-'|]+(?<=\S)$"An example name"
Optional chain identifier the source funds will originate from. When provided, overrides the fromChainId recorded at source time. The chain family (fromChainName) and source address (fromAddress) are locked at source time and cannot be changed here.
50^(?=\S)[\p{L}\p{N}a-zA-Z _.,:!?&%@\/+\-'|]+(?<=\S)$"An example name"
Amount to deposit, replacing the flow's suggested amount. Deposit flows with a wallet or deposit-address source only. A positive decimal in amountCurrency units. When omitted, the quote uses the flow's current (USD) amount, so resend a SOURCE_TOKEN amount on every re-quote to keep the deposit fixed in the source token.
50^(?=\S)[\p{L}\p{N}a-zA-Z _.,:!?&%@\/+\-'|]+(?<=\S)$"25.50"
Response
Quote fetched and stored successfully
A single payment, deposit, or withdraw flow. Collapses the former Checkout and CheckoutTransaction into one resource.
Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight, hyphens allowed for chains using base64url-encoded addresses like TON)
255^[A-Za-z0-9_-]{18,100}$"0xbF394748301603f18d953C90F0b087CBEC0E1834"
Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight, hyphens allowed for chains using base64url-encoded addresses like TON)
255^[A-Za-z0-9_-]{18,100}$"0xbF394748301603f18d953C90F0b087CBEC0E1834"
Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight, hyphens allowed for chains using base64url-encoded addresses like TON)
255^[A-Za-z0-9_-]{18,100}$"0xbF394748301603f18d953C90F0b087CBEC0E1834"