There are three main types of DEXs, and the way they work differs slightly. Order book type DEXs use an order book to keep a record of pending orders. DEX aggregators connect to various DEXs liquidity pools to offer a fluid trading experience at low costs and minimal slippage. Automated Market Makers (AMMs) incentivize users to deposit tokens and provide liquidity for other traders in return for a share of the trading fees.