Maximal Extractable Value (MEV)

Maximal Extractable Value (MEV) represents the maximum profit a miner, validator, or searcher can extract from block production by reordering, inserting, or censoring transactions.

Maximal Extractable Value (MEV) represents the maximum profit that can be obtained by block producers (miners in PoW, validators/builders in PoS) through the strategic inclusion, exclusion, and ordering of transactions within a block. Unlike traditional transaction fees, which are paid by users to miners/validators for processing their transactions, MEV is an economic rent captured by the block producer themselves by exploiting their privileged position. This value arises from the predictability of the transaction mempool and the ability to manipulate block composition. Common MEV strategies include arbitrage (exploiting price discrepancies across decentralized exchanges), liquidations (triggering loan liquidations on DeFi platforms), and sandwich attacks (placing profitable trades around a victim's transaction to profit from price impact). Searchers, specialized actors, often identify these opportunities and pay significant fees or tips to block producers to have their transaction bundles included in a specific order. The rise of MEV has led to the development of sophisticated infrastructure, such as MEV-Boost in Ethereum, which separates block production from transaction selection, allowing validators to outsource block building to specialized builders who compete to include profitable transaction bundles. While MEV can incentivize network security and efficiency (e.g., by facilitating liquidations), it also poses risks like increased transaction costs for users, network congestion, and potential censorship.

        graph LR
  Center["Maximal Extractable Value (MEV)"]:::main
  Pre_mathematics["mathematics"]:::pre --> Center
  click Pre_mathematics "/terms/mathematics"
  Rel_block["block"]:::related -.-> Center
  click Rel_block "/terms/block"
  Rel_block_explorer["block-explorer"]:::related -.-> Center
  click Rel_block_explorer "/terms/block-explorer"
  Rel_mev_extraction["mev-extraction"]:::related -.-> Center
  click Rel_mev_extraction "/terms/mev-extraction"
  classDef main fill:#7c3aed,stroke:#8b5cf6,stroke-width:2px,color:white,font-weight:bold,rx:5,ry:5;
  classDef pre fill:#0f172a,stroke:#3b82f6,color:#94a3b8,rx:5,ry:5;
  classDef child fill:#0f172a,stroke:#10b981,color:#94a3b8,rx:5,ry:5;
  classDef related fill:#0f172a,stroke:#8b5cf6,stroke-dasharray: 5 5,color:#94a3b8,rx:5,ry:5;
  linkStyle default stroke:#4b5563,stroke-width:2px;

      

🧒 Explain Like I'm 5

Imagine you see someone trying to buy the last loaf of bread for $1. You quickly jump in front of them, buy it for $1, and then immediately sell it to that same person for $2. Because you chose who got to buy first, you made an extra dollar. In the [blockchain](/en/terms/blockchain) world, the people who build blocks of data can decide whose transactions go first, allowing them to 'jump in line' and make extra money from trades.

🤓 Expert Deep Dive

MEV is a complex economic phenomenon that has reshaped incentives within blockchain networks, particularly since the advent of DeFi. It represents a market failure where the ability to order transactions, a necessary component of consensus, becomes a source of rent-seeking. The formalization of MEV extraction through protocols like Flashbots has created a quasi-market for block space, where searchers bid for inclusion. This has led to intense competition and the development of highly optimized algorithms for identifying and executing MEV strategies. Architecturally, MEV extraction influences consensus design, network [latency](/en/terms/network-latency) requirements, and the relationship between block producers and users. The potential for MEV to influence validator behavior raises concerns about network neutrality and censorship resistance. Furthermore, the distribution of MEV rewards is a critical aspect of network governance and economic sustainability, with ongoing debates about how this value should be shared among validators, stakers, and users.

🔗 Related Terms

Prerequisites:

📚 Sources