Slippage is the gap between the price you see when preparing the order and the price you actually get. It comes from your order’s price impact and from other people’s orders that go through just before yours.
On a DEX you set a slippage tolerance: 2% means “cancel if I get more than 2% fewer coins than expected”. The DEX computes a minimum received: 100,000 coins expected at 2% → at least 98,000, otherwise the transaction fails (and on most blockchains you still pay network fees).
A very wide tolerance (20%, 50%) gets the order through almost for sure… but exposes you to a disastrous price and to bots that exploit that margin (mission 411). Never raise it “because a post tells you to”.
Priority fees (a tip to the network) push your transaction ahead of others when the network is congested. They come on top of base fees. In a mania, paying for priority to chase a soaring price is often a bad bet.
Examples
SLIP-X (fictional market) : On this fictional token you expect 100,000 coins. With 2% tolerance you will get at least 98,000; with 20% you accept getting only 80,000. Those 20,000 coins are a margin others can capture.
Spring 2024: Solana congested by the memecoin rush : In spring 2024 the memecoin frenzy on Solana saturated the network: a large share of transactions failed, and many users raised their priority fees and slippage tolerance to get through. Developers had to release fixes. Lesson: in a mania, your order can fail, or go through at a much worse price than expected.
Key terms
Slippage
Gap between the expected price and the price obtained
Slippage tolerance
Maximum gap accepted before the order is cancelled
Minimum received
Floor quantity of coins guaranteed by your tolerance