Maximal Extractable Value (MEV)
MEV is the profit a block producer can extract by arbitrarily reordering, inserting, or censoring transactions within a block — manifesting as frontrunning, sandwich attacks, arbitrage, and liquidations that collectively extract billions from users.
Originally "Miner Extractable Value" (renamed to Maximal after PoS), MEV arises because block proposers choose transaction ordering. Common MEV strategies: arbitrage (exploiting price differences across DEXs), liquidations (triggering undercollateralized loan liquidations for bounties), sandwich attacks (placing buy before and sell after a victim's large swap to profit from the price impact), and frontrunning (copying a profitable transaction and submitting it with higher priority). Flashbots created an off-chain auction (MEV-Boost) where searchers bid for transaction ordering, reducing on-chain gas wars. Ethereum's Proposer-Builder Separation (PBS) separates the roles of building blocks (builders) and proposing them (validators), creating a competitive market for block construction.
Tradeoffs
Strengths
- Arbitrage MEV keeps prices consistent across DEXs, benefiting all traders
- Liquidation MEV maintains DeFi protocol solvency
- MEV-Boost significantly increases validator revenue, improving staking economics
- Competition among searchers drives efficiency in MEV extraction
Weaknesses
- Sandwich attacks and frontrunning extract value directly from users
- MEV creates centralization pressure in the builder market
- Large MEV opportunities can incentivize consensus instability (reorgs)
- The hidden tax of MEV makes DeFi less accessible and fair
Likely Follow-Up Questions
- How does a sandwich attack work mechanically on Uniswap?
- What is Flashbots MEV-Boost and why do most validators run it?
- How does Proposer-Builder Separation affect validator economics?
- What strategies can users employ to protect themselves from MEV?
- How does MEV extraction differ between L1 and L2?
- Why is builder centralization a concern for Ethereum?
Related Concepts
Source: editorial — Synthesized from Flashbots research, MEV-Explore data, and Ethereum PBS proposals