For the complete documentation index, see llms.txt. This page is also available as Markdown.

Off-chain Swaps

Swap without connecting a wallet – send to a deposit address and let a partner exchange handle the rest.

Off-chain Swaps

No wallet connection, no gas, no contract approvals – just send to a deposit address.

What is an off-chain swap?

An off-chain swap replaces the usual "connect wallet and sign" flow with a manual deposit: YiFi gives you a off-chain provider's one-time deposit address, you send your tokens there from any source, and a partner exchange handles the conversion and delivers the output to your destination address.

Core features

  • No wallet connection or signing. No "Approve" or "Sign" transaction – you never expose a wallet connection or a contract permission.

  • Widest coverage. Because execution runs through exchange partners rather than on-chain liquidity, this rail reaches the broadest set of assets and chains, including non-EVM networks that on-chain routing can't serve.

  • Middle-ground privacy. Breaks the direct on-chain contract link between your wallet and the destination – more private than an on-chain swap, though less than Private Swaps.

  • One-to-one, non-custodial. Your funds are briefly held by the exchange partner during the swap – never pooled, and never held by YiFi. See Core Concepts.

How it works

1

Initiate

Choose your source and destination tokens and get a temporary deposit address.

2

Deposit

Send your tokens to that address from any wallet, exchange, or hardware device.

3

Exchange

Once received, the exchange partner converts your tokens to the destination asset.

4

Delivery

The output is sent directly to the recipient address you specified.

Who it's for

Good fit for:

  • Users who'd rather not connect a wallet or approve a contract

  • Swaps from cold storage, hardware wallets, or exchange balances

  • Cross-chain and non-EVM pairs that on-chain routing can't reach

Not the best fit for:

  • Privacy-focused users who need more than a broken contract link – see Private Swaps

  • Users who want fully on-chain, contract-verifiable execution – see On-chain Swaps

Off-chain Swaps – Summary at a glance

  • Privacy: Moderate – breaks the direct on-chain link; no contract interaction.

  • Speed: A few minutes, depending on the exchange partner and network confirmations.

  • Custody: Non-custodial at the platform level – funds pass one-to-one through the exchange partner.

  • Best for: No-wallet-connect swaps with the widest asset and chain coverage.

Integrating

Off-chain routes are quoted and executed through the same lifecycle as the other rails (quote → order → status). See the private routing endpoints in the API Reference.

Last updated

Was this helpful?