What Is Maximal Extractable Value (MEV)? What Blockchain Miners Need To Know

One of the points of greatest interest for crypto miners and validators in recent months has been MEV, or “maximal extractable value” (the term can also stand for “miner extractable value”). Sometimes MEV is referred to as the “invisible tax” miners collect from participants in a crypto economy by reordering and manipulating transactions in the validation process. But what exactly is MEV, how does it work, and what are some of its potential impacts on crypto ecosystems?

Profit in Transaction Manipulation

In a cryptocurrency system, regardless of the type of consensus mechanism used to confirm transactions, pending transactions are held in what is known as the “mempool,” a waiting area that is visible to the public. Miners or validators in the system then select transactions, order them, and make a block, which is subsequently validated and added to the blockchain.

In 2014, an algorithmic trader using the handle Pmcgoohan predicted that miners might be able to manipulate the transactions in a mempool in order to derive a profit. They wrote that “miners can see all the contract code they run…and the order in which transactions run is up to individual miners…what is to stop front running by a miner in any marketplace implementation?”

Origin of the Term “MEV”

Phil Daian and a team of smart contract researchers wrote a 2019 paper, “Flash Boys 2.0,” which coined the term “miner extractable value.” For Daian’s team, MEV signified the “total amount of ETH miners can extract from manipulation of transactions within a given time frame.” MEV in this case was coined in the context of proof-of-work consensus mechanisms, in which miners govern the order of and whether or not to include transactions in a block. When Ethereum’s blockchain shifted to proof-of-stake during The Merge in 2022, the term shifted to “maximal extractable value” to reflect a wider group of methods miners and validators used.

How Does it Work to Extract MEV?

In theory, network miners or validators should receive the entirety of the MEV available for a given transaction. In actuality, though, independent network members known as “searchers” have increasingly used bots to detect MEV opportunities and automate the extraction process. This is not entirely a negative thing for miners, who tend to receive gas fees from searchers keen to have their transactions included in a block for validation.

Some of the techniques used to extract MEV include:

Liquidation: In a DeFi lending space, users must deposit crypto to be used as collateral. If a user isn’t able to repay their loans, the protocols often allow other participants the chance to liquidate the collateral and gain a liquidation fee from the borrower. Those searching for MEV opportunities may compete to find borrowers primed for liquidation so that they can gain the liquidation fee for themselves.