Documentation

Docs · Architecture

How a swap actually moves

A walkthrough of the system, from the moment you paste an address to the moment funds land in your destination wallet.

Flow overview

USER WALLET → ANYSWAP ROUTER → ONE-TIME ADDRESS
                                      ↓
DESTINATION ← VENUE LIQUIDITY ← ORCHESTRATOR
                                      ↑
                            (optional) PRIVACY HOP
                                       XMR · ZEC

Step by step

Step 01 — QuoteYou ask, the router answers.

You enter the asset you have, the asset you want, and your destination address. The router queries every connected venue and returns the best executable quote, locked for ~90 seconds.

Step 02 — DepositA one-time address is generated.

AnySwap issues a unique deposit address tied only to this swap. It expires the moment funds settle, and is never reused for another user — ever.

Step 03 — ExecuteThe orchestrator routes liquidity.

The orchestrator splits the order across venues to minimize slippage. If you opted in to a privacy hop, funds detour through a shielded asset before settlement.

Step 04 — WithdrawOutput lands in your wallet.

Your purchased asset is withdrawn directly to the address you specified. Most pairs settle in under a minute.