Maximal Extractable Value, or MEV, is the profit a block producer can extract by choosing which transactions to include in a block, which to discard, and in what order to arrange them. This value goes to them on top of the usual block reward and gas fees. It arises simply because a miner or validator has the power to control the order of processed transactions.
KEY CONCEPTS
MEV is one of the fundamental ideas in how blockchains work, especially in networks like Ethereum. By understanding it, you begin to see what economic incentives drive network participants and how all of this affects transaction costs and their finality (the point at which a transaction can no longer be reversed).
Behind every transaction, there are several roles, and their interaction is precisely what creates MEV. To avoid confusion going forward, keep this small cheat sheet in mind:
- Users: Send regular transactions, such as exchanging tokens on a decentralized exchange.
- Searchers: Programs and traders who scan the network for profitable opportunities.
- Builders: Assemble transactions into a ready block, ordering them in the most profitable way.
- Validators: Confirm the block and add it to the chain, receiving their share.
It is the coordinated, and at times competitive, work of these participants that ensures the security and functionality of the decentralized network.
HOW IT WORKS
Block producers, meaning miners in Proof-of-Work networks or validators in Proof-of-Stake networks, decide for themselves which transactions will go into a block and in what order they will appear. This freedom is the source of MEV. By looking at the queue of pending transactions in the mempool (the memory area where transactions wait to be included in a block), the block producer notices profitable situations and then applies specific techniques to capture this profit for themselves.
USE CASES
The most well-known technique is front-running: placing your transaction directly before someone else's to profit from its execution. Imagine a bot sees a large token purchase in the mempool that is about to push the price up. It manages to buy the same token a few positions earlier, waits for the other person's trade to raise the price, and then sells at a higher price. The other person's transaction is executed at an already worsened price, and the difference goes into the bot's pocket.
A second common scenario is arbitrage, where profit is made from the price difference of an asset on different decentralized exchanges (DEXs). If a token is cheaper on one platform and more expensive on another, an MEV bot buys it where it's cheap and immediately sells it where it's expensive, all within the same block.
Ordinary users pay for this. By competing with MEV bots for a spot in the block, they are forced to raise gas prices, making transactions more expensive. The impact of MEV is also felt at the network development level: it is considered when designing new solutions for blockchain scaling, such as rollups (technology that moves computation off the main chain).
FREQUENTLY ASKED QUESTIONS
The existence of MEV can drive up fees for regular users, as they compete for block inclusion with much more sophisticated bots. This phenomenon has two sides. On one hand, MEV can enhance network security, as it provides validators with an additional incentive to honestly assemble blocks. On the other hand, its extraction creates inefficiencies and harms decentralization by concentrating profits among those with more powerful infrastructure. Therefore, current research and development are aimed at mitigating the harmful consequences of MEV while preserving its beneficial aspects for the health of the network.