InfrastructureLetter: M

What is Maximal Extractable Value (MEV)?

Definitive Definition

Maximal Extractable Value (MEV) is the maximum profit that block builders, validators, and searchers can extract from users by inserting, reordering, or censoring transactions within a block before it is finalized on the blockchain.

In-Depth Architectural & Economic Analysis

Searchers deploy automated high-frequency arbitrage bots that scan the public mempool for pending transactions. When they spot large trades, they execute sandwich attacks (buying before the user and selling immediately after) or liquidate undercollateralized loans.

Core Characteristics & Mechanism

  • Includes benign MEV (DEX arbitrage, liquidations) and adversarial MEV (sandwiching, front-running).
  • Mitigated via Proposer-Builder Separation (PBS), MEV-Boost, and private RPC endpoints (e.g., Flashbots Protect).
  • Accounts for hundreds of millions of dollars in extracted value across Ethereum and Solana annually.
Practical Application Scenario:

An MEV bot spots a large $500,000 swap on Uniswap and pays a high priority gas fee to sandwich the trade, earning $1,200 in risk-free profit.

Primary Sources & Formal Specifications (E-E-A-T)