How a Crypto Swap Routes Through 250+ Liquidity Sources
Walk through a real $50,000 USDC-to-ETH swap as it is split, routed, and settled across 7 different venues by a modern DEX aggregator.
To make routing tangible, follow a single hypothetical $50,000 USDC-to-ETH swap from quote request to final settlement on Ethereum mainnet. The aggregator quotes 287 venues across 6 chains in under 800 milliseconds, builds a graph, runs a path-finding optimisation, and returns a single transaction the user signs once. The intermediate steps are where the value is created or destroyed.
Quote Request
User taps 'swap $50,000 USDC for ETH'. The aggregator pings every venue's price function in parallel: Uniswap V3 0.05%, V3 0.30%, V4 hooks, Curve tricrypto, Balancer 80/20, Maverick boosted, Sushi V3, and dozens of long-tail pools. Each returns a quoted output amount for the requested input. Slow venues (>800ms) are excluded from this round so the user does not wait.
The Path Construction Phase
- Single-hop direct: Uniswap V3 0.05% USDC/ETH — quotes 16.452 ETH (this is the baseline)
- Single-hop direct on V3 0.30%: quotes 16.434 ETH (lower fee tier wins this pair)
- Two-hop USDC → DAI → ETH via Curve + Uniswap: 16.428 ETH (worse — extra fee and hop)
- Two-hop USDC → wBTC → ETH: 16.401 ETH (worse — wBTC liquidity is shallow)
- Split path: 60% on Uniswap V3 0.05% + 30% on Curve tricrypto + 10% on Maverick — 16.469 ETH (this wins)
Why the Split Beats the Single Venue
Price impact on AMMs is convex in size: a $30k swap on Uniswap V3 0.05% has 8bps impact, but a $50k swap has 21bps impact (not 13bps). By splitting the order across three venues, the aggregator avoids walking up the price curve on any single pool, lowering the average price impact to ~7bps overall. The user receives 0.017 more ETH — about $55 at $3,200 — than they would have on the single best venue.
Execution and MEV Protection
- The router contract bundles the three swap legs into a single atomic transaction
- Slippage tolerance set to 0.30% — execution must produce at least 16.420 ETH or revert
- Transaction submitted via Flashbots Protect RPC — bypasses the public mempool
- Block builder includes the bundle 6 seconds later — no sandwich attack possible because no searcher saw the pending tx
- User receives 16.467 ETH (slight under-fill from real-time price drift) — confirmation in wallet feed within 12 seconds
What the User Did Not See
The user clicked one button. Behind it: 287 quote requests, a graph search, a 3-way split optimisation, atomic execution across three pools, MEV protection through a private mempool, and on-chain settlement — all in under 15 seconds for a per-transaction cost of around $4 in gas. This is what 'best execution' means in practice in 2026, and it is the default Steyble routing behaviour for every swap.