Skip to main content
Decentralized Finance Publication · DFR
← All answers

Answers · Q&A

How do DEX aggregators route trades?

DEX aggregators query many liquidity pools, then split a swap across venues and paths to improve net output after gas and price impact. Decentralized Finance Publication explains routing, slippage, and execution risk for literacy — not a recommendation to use any aggregator.

Last updated

Why aggregation exists

Liquidity is fragmented across Uniswap versions, Curve pools, Balancer, chain-specific AMMs, and concentrated-liquidity ranges. A single pool may not offer the best price for your size.

Aggregators (for example 1inch-style routers and intent-based systems) simulate candidate routes and often split one trade across multiple pools so each slice hits a better part of the bonding curve.

What “best route” means

Optimisers balance expected output tokens, gas cost, pool fees, and sometimes expected MEV or failure risk. A route that looks best on a quote screen can still fail or worsen if prices move before inclusion.

Some designs use off-chain resolvers or RFQ market makers (intent/Fusion-style flows) so professional fillers compete on execution while the user signs an order rather than a rigid on-chain path.

User-facing risks

Slippage settings, approval scopes, token tax/fee-on-transfer quirks, and phishing front-ends remain user risks. Aggregators reduce price-impact search costs; they do not remove smart-contract or market risk.

Educational context only — compare routes carefully and verify the site or wallet module you trust.

FAQ

Frequently asked questions

Is an aggregator safer than using Uniswap directly?

Not inherently. You add router contract surface area even as you may improve price. Safety depends on code, approvals, and operational hygiene.

Why did my aggregator quote change before I swapped?

Quotes are snapshots. Mempool competition, block latency, and moving pool prices change outputs. Slippage tolerance defines how much worse a fill you will accept.

Do aggregators custody my funds?

Typical swap aggregators route atomic transactions from your wallet; they are not meant to hold balances like a centralised exchange. Always verify contract interactions.