The fixed-rate swap feature sets the rate but doesn’t cover swap fees. To deliver a fixed-rate output without swap fees, also turn on swap fee sponsorship, and set
fixedRate and feeSponsorship together on each quote. Your client fee, if configured, still applies.- Your parent organization is on an Enterprise plan.
- Only the parent organization can turn it on and change the spend limit. Sub-organizations use their parent’s settings.
Eligible stablecoins
Both tokens in the swap must be supported stablecoins. Cross-chain pairs such as Arbitrum USDT0 → Base USDC also qualify. Fixed-rate coverage varies by stablecoin and chain, and Turnkey expects to add routes over time. If a fixed-rate quote between supported stablecoins fails withSWAP_FIXED_RATE_UNAVAILABLE, contact Turnkey and tell us which routes you want added. In the meantime, request the quote without fixedRate.
Eligibility band
Turnkey also protects fixed-rate swaps against a depeg. A stablecoin is eligible for a fixed rate only while its USD price is inside the eligibility band, currently $0.95 to $1.05. If either stablecoin in a pair is priced outside the band, fixed rate pauses for that pair, and the swap fails withSWAP_FIXED_RATE_PRICE_OUT_OF_BAND. Fixed rate resumes when the price is back inside the band.
The band applies to every organization and every eligible stablecoin. It limits what your organization can be billed for fixed-rate swaps during a depeg, and it stops users from receiving a depegged stablecoin at 1:1.
Turnkey checks the band when you request a quote, when you execute it, and each time a market swap fetches its quote. If Turnkey can’t get a price for a stablecoin, the swap fails with SWAP_FIXED_RATE_UNAVAILABLE.
Set the spend limit
From the parent organization, submitACTIVITY_TYPE_UPSERT_SWAP_FIXED_RATE_LIMIT_CONFIG with enabled: true. Like swap fee sponsorship, fixed rate has an organization-wide, aggregate limit and a single limit that applies to each sub-organization, over a rolling time window, set separately from the swap fee sponsorship limits.
Turning fixed-rate swaps on or off requires root quorum approval. Enabling Fixed-Rate Swaps accepts the DeFi-related Features Addendum to the Turnkey Terms of Service on behalf of your organization. The authority to change the limits while fixed-rate swaps are enabled is determined by your policies. Setting enabled: false turns fixed-rate swaps off and your current limits are saved. You can set new limits whenever you re-enable, or adjust them at any time.
Request a fixed-rate quote
SubmitACTIVITY_TYPE_CREATE_SWAP_QUOTE_V3 with fixedRate: true, and usually feeSponsorship: true. Both tokens must be eligible stablecoins. Same-chain and cross-chain routes both work. Everything else is the same as a regular quote.
With the TypeScript SDK, createSwapQuote sends V3 as of v2026.10.1. With the Go SDK (v2.2.0 or later), use Client.CreateSwapQuote, which sends V3.
A fixed-rate quote comes back with fixedRate: true, and estimatedCharges.fixedRateAdjustmentUsd provides the estimated fixed-rate adjustment: positive is a cost, negative is a credit. See Charges.
Execute the quote
Execute the quote withACTIVITY_TYPE_EXECUTE_SWAP_V4 as for any quote. The quote binds the fixed rate, meaning that the quote ID carries over the fixed-rate state when the quote was generated. There is nothing additional needed to use fixed-rate swaps at the execution step if you generated a quote with fixedRate: true.
A market swap has no quote to bind it, so set market.fixedRate: true on the execute intent instead. Use fixedRate: true on get_indicative_swap_quote to preview the fixed-rate price.
Charges
A fixed-rate swap adds a Swap Fixed Rate line to your invoice, reported asfixedRateAdjustmentUsd in a SwapCharges object. It is the difference between the 1:1 rate and the market rate. Positive differences are costs billed to you. Negative differences are credited against your transaction management charges at the end of the billing period. The credit applies only against your swap fee sponsorship, fixed-rate and gas sponsorship charges, not to Turnkey’s swap fee or other charges, and unused credit expires at the end of that period and do not rollover to the next period.
- The quote and
get_indicative_swap_quotereturn an estimate inestimatedCharges. ACTIVITY_TYPE_EXECUTE_SWAP_V4returnsestimatedChargesfor the quote it executed.get_swap_statusreturns the final amount inchargesonce it is settled. A swap that fails or is refunded settles at zero.
Quotes still return
estimatedFixedRateAdjustmentUsd, which is deprecated. Read estimatedCharges.fixedRateAdjustmentUsd instead.Check usage
get_swap_sponsorship_usage returns the fixed-rate spend limit under fixedRate. Fixed-rate usageUsd nets earnings against costs within the window and never goes below zero, so earnings restore capacity up to the limit. Pending swaps are not reserved, so what is left does not account for swaps still in progress.
Errors
Turnkey checks a fixed-rate swap when you request the quote, and again when you execute it, because prices, limits, and balances can change in between. A market swap is checked each time its quote is fetched. A swap that fails a check fails, and does not fall back to the market rate.Next steps
- Swap Fee Sponsorship: pay swap fees and execution costs on behalf of your users.
- Execute a swap: the signing activity that runs the swap end-to-end.
- Track swap status: same-chain vs. cross-chain polling.