MEV
MEV (Maximal Extractable Value) is the profit block producers extract by reordering, including, or excluding transactions in a block, often via front-running.
What Is a MEV?
A MEV (Maximal Extractable Value) is the maximum profit that block producers extract by reordering, including, or excluding transactions in a block they produce. Block producers include miners in proof-of-work blockchains and validators in proof-of-stake systems. Previously called "Miner Extractable Value," the term now applies broadly.
MEV works through the mempool, a pool of pending transactions visible to block producers. They reorder transactions to capture value. For instance, in front-running, a block producer spots a large DEX trade, inserts their own buy order first, then sells after the price moves.
MEV matters because it raises user fees, as traders pay more to prioritize transactions and avoid extraction. It risks centralization, where specialized "searchers" and "builders" dominate. Harmful MEV can distort markets and reduce trust in decentralized networks.
Key types include:
- Arbitrage: Exploit price differences across DEXs.
- Sandwich attacks: Front-run and back-run a target trade.
- Liquidation MEV: Trigger undercollateralized loans first for fees.
Tools like Flashbots and MEV-Boost help mitigate negative effects by enabling private auctions for block construction.
Mempool, short for memory pool, is a node's temporary storage for unconfirmed cryptocurrency transactions awaiting validation and inclusion in a blockchain block.
Read full definitionReal-World Examples
Example 1: Front-running on a DEX
A user submits a large buy order for ETH on Uniswap. A searcher spots it in the mempool, inserts their own buy order ahead, buys ETH first, pushes up the price, then sells after the user's trade executes for profit. This extracts MEV from the user's slippage.
Example 2: Arbitrage across exchanges
Token ABC trades at $10 on Uniswap and $10.20 on Sushiswap. A bot detects the difference, reorders transactions to buy on Uniswap and sell on Sushiswap within the same block, capturing the $0.20 spread as MEV.
Example 3: Sandwich attack
A trader swaps 1000 USDC for DAI on a DEX. Searchers front-run with a buy order before it, then back-run with a sell order after, squeezing the trader's trade between them to profit from induced price slippage.
Example 4: Liquidation MEV
In Aave, a borrower's collateral drops below threshold. Multiple bots compete to submit the liquidation transaction first, paying the fee and claiming a bonus, with the winner extracting MEV by reordering in the block.
Ethereum is a decentralized blockchain platform that enables smart contracts and decentralized applications (dApps). Its native cryptocurrency is Ether (ETH).
Read full definitionMempool, short for memory pool, is a node's temporary storage for unconfirmed cryptocurrency transactions awaiting validation and inclusion in a blockchain block.
Read full definitionSlippage is the difference between the expected price of a cryptocurrency trade and the actual executed price, caused by market volatility or low liquidity.
Read full definitionA token is a digital asset on a blockchain that represents value, ownership, utility, or access rights. Examples include ERC-20 tokens on Ethereum.
Read full definitionA stablecoin is a cryptocurrency designed to maintain a stable value, typically pegged to a fiat currency like the US dollar or backed by reserves.
Read full definitionA lending protocol is a DeFi smart contract platform on blockchain where users lend crypto to earn interest and borrow assets using collateral.
Read full definitionReady to Choose a Secure Wallet?
Use our tools to find the right hardware wallet for your needs.