Skip to content
Menu
Finabase Learn

Glossary

DEX aggregator

A DEX aggregator searches many decentralized exchanges and liquidity pools and splits one swap across them to get a better price after slippage and gas.

On this page
  1. Why splitting helps
  2. The costs
  3. Related terms

A DEX aggregator is a service that looks across many decentralized exchanges and liquidity pools for the best way to fill one swap. It may send the whole trade to one pool, split it across several, or route it through an intermediate token, such as ETH to USDC to another token, when that path pays more. The user signs one transaction, and a smart contract executes the route.

Why splitting helps

Most DEX pools are automated market makers. The more you take from one pool, the worse each extra unit's price gets. That price impact is the main source of slippage on large swaps.

The costs

  • Gas. Every extra pool or hop adds computation, so the gas fee rises. A good router counts gas in the comparison. On a small swap the cheapest route is often a single pool.
  • Stale quotes. Prices can move between the quote and the block that includes the trade. A slippage tolerance sets the worst price the user will accept; the swap fails rather than fill below it.
  • MEV. A large visible swap can be sandwiched by bots. Some aggregators send orders through private channels or auctions to reduce this.
  • Contract risk. The user approves the aggregator's contract to move tokens. A bug or a malicious approval can drain them.

Some aggregators also fill orders from professional market makers off chain, and pass on part of the saving as a better quote.

Sources and further reading

  1. ethereum.org — What is DeFi? (decentralized exchanges)
  2. Uniswap developer documentation — How Uniswap works (constant product formula)

Written and fact-checked by Finabase Research. Last reviewed . Spotted an error? Tell us.

Educational content, not investment advice. Finabase Learn explains how markets and tools work. It does not recommend any security or strategy, and examples are for illustration only. Investing involves risk, including the loss of principal. Rules and figures are for the United States unless stated and can change — check the cited source before you act. Data and corrections policy.