The previous section covered decentralized exchanges and briefly touched upon aggregators, which finds the best price between exchanges. We can go a step further and have aggregators of aggregators. The most popular aggregator of aggregators is MetaMask Swaps.
Before interacting with different DeFi protocols, users must first familiarize themselves with those platforms and understand the pros and cons of each.
Not all liquidity sources (DEX, DEX aggregators, and PMMs) are created equal. The rate that each protocol provides may depend on liquidity depth, pricing mechanism, and type of tokens.
The route and complexity of each Swap may differ, depending on the liquidity source. Some sources will require less gas, depending on the route.
Decentralization leads to liquidity fragmentation.
For some trades, splitting a Swap between multiple sources can result in the most favorable trade.
When Swapping ERC20 tokens, users must first approve individual tokens on each liquidity source.
By requesting prices from all available DEXs, DEX aggregators, and individual market makers, we can guarantee that MetaMask users have access to the deepest liquidity, the largest selection of tokens, and the most competitive prices.
We’ve abstracted all the complexities, allowing MetaMask users to Swap > 1,000 unique tokens in three clicks.
No need to approve every token on multiple DEXs and aggregators for each trade. With Swaps, users only need to approve each token once, reducing gas costs and shortening the path to executing their trade.