Instead of manually checking multiple DEXs for the best rates, aggregators do the heavy lifting and find optimal prices automatically.
What Is a DEX Aggregator
DEX aggregators are innovative tools that scan multiple decentralized exchanges at once to find the best price for your trade so you can trade directly on one interface at the best price.Trading on a single DEX without checking aggregators could cost you significant money on large trades due to suboptimal pricing.
How DEX Aggregators Work
DEX Aggregators use different algorithms and methods to get you the best rates. But they don’t just look at price. They also check:- Liquidity — is there enough to fill your trade without considerable slippage?
- Gas fees — because saving 20
- Execution time — how fast and reliable is this trade?
- Success rate — will this transaction go through?
Aggregators optimize for total value, not just price. They factor in gas costs, slippage, and execution probability.
- Cetus has a good rate for the first 4000 USDC.
- Steamm offers a better rate for the next 3000 USDC.
- Momentum is best for the last 3000 USDC.
Smart routing can save you significant money on large trades by splitting orders across multiple liquidity sources for optimal execution.
How to use a DEX Aggregator
There are many DEX aggregators on Sui, including Aftermath, FlowX, and & 7K to mention a few. In this tutorial, we wil use Aftermath’s aggregation featureVisit the Aggregator
Visit Aftermath’s aggregator on aftermath.finance/trade and connect your wallet to get started. You need to have some tokens that you’ll swap ready in your wallet to move forward.
Enter the Amount You Want to Swap
Enter the amount of tokens you want to swap to get an estimated amount of the tokens you’ll receive (usually the best rates across DEXs) Now you can proceed with your swap and it will be executed on the DEX/DEXs with the best rate.a
Check the Routes
You can check the route (the DEXs and transactions) your transaction would go through to understand what the aggregator is doing beneath the hood.
Customize Liquidity Sources
You can customize liquidity sources (select specific DEXs) that the aggregator should use for your swaps when you’re trading. This is handy if you’re trying to target specific DEXs for reasons like campaigns and user rewards.