Maximal Extractable Value
- Category
- Decentralised Finance
- Level
- Expert
Simple definition
Value that whoever arranges the order of transactions in a block can take for themselves, simply by choosing what goes first. Ordinary users pay it as a worse price.
Professional definition
The profit available from including, excluding or reordering transactions in a block, beyond the ordinary block reward and fees. It arises because pending transactions are public and the sequencing right is valuable, so the ability to order a block is an economic asset.
Technical definition
MEV is a property of the consensus and fee design, not a bug in any one protocol. Some of it is benign and even useful — closing arbitrage gaps, triggering eligible liquidations — and some is a direct transfer from users whose intentions were visible before execution. Because the sequencing right can be auctioned, the profit tends to be competed into payments to block proposers, which concentrates proposing power and, as the founding work on the problem showed, can create incentives to reorganise the chain itself.
Academic definition
The surplus obtainable by an agent with discretion over transaction inclusion and ordering within a block, representing a rent on sequencing rights with consequences for user execution quality and consensus stability.
Mechanism
Two design facts combine. Pending transactions are broadcast publicly, so intentions are known before they execute; and one party chooses the order in which they execute. Any gap between a user's acceptance bound and the price they would have got is surplus that the sequencer can capture. The right to do so is worth money, so it is bid for, and the proceeds flow to whoever controls block construction.
In practice
- Who uses it
- Users whose fills are worsened by it, searchers and builders who compete for it, protocol designers trying to reduce it, and researchers measuring it.
- Why it matters
- It is the main hidden cost of trading on a public chain, and it determines how much of a quoted price a user actually receives.
- Limitations
- Measured totals depend heavily on what the measurer counts as extraction, and much of the activity now happens through private channels that public data cannot see.
Common mistakes
- Setting a wide acceptance bound to make a transaction go through.
- Assuming a quoted price is what will be received on a public chain.
- Treating all extraction as theft, or all of it as harmless arbitrage.
Examples
A user sends a swap quoted at 10,000 with a five percent acceptance bound. The most that can be taken from that transaction by reordering is 500, because below 9,500 the swap reverts. A half-percent bound caps the same exposure at 50.
- quoted output = 10,000
- acceptance bound s = 5%
- alternative bound s = 0.5%
- floor at 5% = 10,000 x 0.95 = 9,500, so the extractable surplus is at most 500
- floor at 0.5% = 10,000 x 0.995 = 9,950, so at most 50
- ratio = 500 / 50 = 10x more exposure from the wider bound
This is an upper bound on one transaction, not a prediction. Network fees and competition determine whether any of it is taken.
The same mechanism also does useful work: when a pool's price drifts from a deep venue, a reordered arbitrage trade closes the gap within the block, and when a position crosses its liquidation threshold, competition to liquidate it protects the lenders.
Related terminology
- related
- Sandwich Attack Front-Running Slippage Tolerance Mempool Arbitrage Liquidation Decentralised Exchange Gas Fee Latency
Front-Running
Front-running is one way value is extracted. MEV is the whole surplus available from sequencing, including arbitrage and liquidation that harm nobody.
Sources
BIS Quarterly Review · 2021-12 · discussion of validator and miner incentives in DeFi trading
https://www.bis.org/publ/qtrpdf/r_qt2112b.pdf URL verified
IOSCO · recommendations addressing order handling and conflicts of interest
https://www.iosco.org/library/pubdocs/pdf/ioscopd754.pdf URL verified
Editorial status
Flagged by the editor as uncertain on a linguistic, mathematical or regulatory point.
