Get a quote for swapping between BTC and another asset. Quotes are valid for a limited time.
Request for a swap quote
Whether the amount specified is input or output
EXACT_INPUT, EXACT_OUTPUT Currency is defined as a chain and token identifier
Currency is defined as a chain and token identifier
Unsigned 256-bit integer as a base-unit decimal string (no decimals)
1^[0-9]+$Slippage tolerance in basis points (1% = 100)
0 <= x <= 10000Quote response
Quote response with pricing and fees
"exact_input"Quote ID - use this when creating a swap
Complete fee breakdown by swap leg
Quote expiration time (ISO 8601)
Exact amount specified by user
Calculated output amount with optional minimum after slippage