
Growth · 2 min read
"Best Route Found" — The DEX Aggregator Mystery
🔀 "Best Route Found" — The DEX Aggregator MysteryYour swap routes through Uniswap, then Curve, then back through SushiSwap with a flash loan in the middle. You click "Swap" trusting a black box you cannot verify.DEX aggregators provide genuine value: they search liquidity across venues to find better execution than any single DEX. But the optimization is opaque by default, and opacity invites suspicion—justified or not.The aggregator routing problem is well-studied. Papers on optimal DEX routing (available on arXiv) formalize the search as a constrained optimization problem: minimize price impact and gas costs across a graph of liquidity pools. The solution is NP-hard to compute optimally, so aggregators use heuristics that produce good-enough results.User trust requires visibility into that optimization:1inch's route visualization—showing the split percentage across DEXs with price improvement attribution—increased trust metrics by 34% according to their UX research shared at EthCC. The implementation displays: "Route saves you $23 vs best single DEX. Split: 60% Uniswap, 30% Curve, 10% Balancer."The technical requirements for transparent routing UX:→ Show split visualization graphically. A Sankey diagram or flow chart of token movement through venues is more intuitive than percentages alone. The Paraswap interface implements this pattern.→ Explain why the route is optimal. "Curve has lower slippage on stablecoins, so we route USDC legs through Curve pools." This builds mental models for future use.→ Display comparative pricing. "Direct Uniswap: 2,847 USDC. This route: 2,871 USDC (+0.84%)" proves the aggregator is earning its complexity.→ Expandable detail view for each hop. Gas cost per leg, price impact per leg, pool addresses for verification. Power users want this; casual users ignore it, but its presence builds trust.The aggregator that explains itself earns trust. The one that says "trust us, this is optimal" does not.→ MayWap | Designing routing UX that explains itself