Candleread
Crypto and DeFi · On-Chain Basics

MEV: maximum extractable value

Explain what MEV is, why it exists, and how it affects retail traders even if they never hear the term.

3 min read+25 XPLesson 47 of 79
Start reading

Lesson path

Crypto and DeFi

On-Chain Basics

Lesson 47 of 7959%
Lesson 47 of 79Crypto and DeFiOn-Chain Basics

Today's tiny win: make one idea click.

Explain what MEV is, why it exists, and how it affects retail traders even if they never hear the term.

Learn itSpot itPass the check

The invisible tax in your transactions

MEV stands for Maximum Extractable Value. It used to be called Miner Extractable Value before Ethereum switched to validators in 2022. The idea is simple and a little uncomfortable. When a validator builds the next block, they get to choose which transactions to include and what order to put them in. That ordering power is worth money. And there's an entire industry of bots competing for it.

Three cards name the MEV types: arbitrage is bot vs bot, liquidations race to close weak loans, and sandwiches cost your swap directly, showing which one hits retail.ArbitrageBot vs bot,mostlyharmlessLiquidateRaces toclose weakloansSandwichCosts yourswapdirectly
Wick saysOf the three kinds of MEV, sandwich attacks are the one that costs everyday swappers.

Here's how it works at the basic level. The mempool — the public waiting room you learned about in lesson one — is visible to everyone. Bots constantly scan it for transactions they can profit from. They see a big DeFi swap about to happen? They might insert their own buy before it and sell after, extracting profit from the price movement the victim's trade was about to cause. They see a DeFi position about to fall below its collateral ratio? They race to be the first to liquidate it. They see an arbitrage opportunity between two exchanges? They race to grab it.

MEV isn't a hack or an exploit in the legal sense. The system is technically working as designed. Bots compete by offering validators a cut of the profit they extract — sometimes a huge cut. Validators include the profitable bundles. Everyone in that chain makes money. The party that pays for it, often invisibly, is the retail trader whose trade got front-run or sandwiched.

Wick pays a coin marked hidden cost at a gate labeled tx order, with a note that bots pay validators to go first, showing how MEV quietly taxes trades.Tx orderBots pay validators to gofirstHidden cost$
Wick saysBots pay validators to order trades their way, and retail swappers often pay the hidden bill.

Three forms of MEV worth knowing by name. First, arbitrage — bots correcting price differences between exchanges. Mostly harmless to retail; it's bot-on-bot competition. Second, liquidations — bots racing to liquidate undercollateralized DeFi positions. Affects DeFi borrowers, not casual traders. Third, sandwich attacks — the one most retail traders quietly fund. A bot sees your pending swap, places a buy in front of it, lets your transaction move the price, then sells immediately after. You absorb the slippage, the bot keeps the difference. That's the next lesson.

Recap: MEV = profit from controlling transaction order in a block. Bots watch the public mempool, identify profitable patterns, pay validators to include their bundles. Arbitrage and liquidations are mostly bot-on-bot. Sandwich attacks are the one that costs retail directly.

Knowledge check

Answer before moving on.

0 / 2 answered

1. Why is MEV possible in the first place?

2. Which type of MEV is most likely to affect a retail trader doing a casual token swap?

Lesson handoff

Pass the check before saving.

Use the knowledge check first. After you pass it, this card turns into the save-and-continue handoff.