string
required
Unique identifier for a given Organization.
string
required
Wallet account address that would send the input asset. It must belong to the organization.
string
required
CAIP-19 asset ID for the input asset.
string
required
CAIP-19 asset ID for the output asset.
string
required
Exact base-unit amount of the input asset.
string
Maximum allowed slippage in basis points, at most 5000. When omitted, the provider chooses the slippage.
string
Raw public address that would receive the output asset. Required for cross-protocol swaps and rejected otherwise.
boolean
Preview the price with Turnkey paying the provider fees. Requires the FEATURE_NAME_SWAP_FEE_SPONSORSHIP organization feature. Defaults to false.
boolean
Preview a 1:1 conversion before fees between supported stablecoins. Requires the FEATURE_NAME_SWAP_FIXED_RATE organization feature. Defaults to false.
string
required
Swap provider that produced this quote.
string
required
Estimated base-unit amount of the output asset.
string
required
Minimum base-unit amount of the output asset after slippage.
string
Slippage tolerance in basis points the provider applied.
string
required
Client app fee in basis points included in this quote. “0” when no client fee applies.
string
Provider’s estimated time to complete the swap, in seconds.
boolean
required
Whether this quote has Turnkey paying the execution costs.
boolean
required
Whether this quote uses a 1:1 fixed rate.
string
Deprecated: use estimated_charges.fixed_rate_adjustment_usd. Estimated fixed-rate adjustment in USD from the customer’s side: positive is a cost, negative an earning. Present only for fixed-rate quotes the provider priced.
object
estimatedCharges field