Cointime

Download App
iOS & Android

What is MEV in Ethereum?

Validated Venture

Maximal Extractable Value (MEV) is a method for miners or validators to increase their profits by changing the order of transactions before approving a new block on the network. Is it really profitable? How does it work? Let’s find out!

MEV is used to boost network commissions at the expense of increased user costs, which are commonly associated with transactions in decentralized applications. Miners or validators, in particular, try to gain an arbitrage position so that the user pays the extra commission that was not accounted for before the transaction is sent. MEV is regarded as an unethical practice.

MEV was first seen in Ethereum and EVM-compatible networks. Flash bots were one of the most effective solutions to this problem.

According to experts, the switch to Proof-of-Stake (PoS) will not eliminate MEVs from Ethereum, but it will result in the separation of validators into professional categories, the emergence of different types of blocks, and the creation of long-term strategies based on MEVs.

How does MEV work?

Blocks recorded in a blockchain, as we know, are immutable information that cannot be rewritten. However, before a transaction is validated, miners or validators can include, exclude, or reorder it in a future block at their discretion.

Each unconfirmed transaction is routed through the public mempool first. Following that, miners select which transactions from the mempool to include in the block. The miners form the most profitable combination of user transactions for themselves in this manner.

This results in abuse. Miners (and, since Ethereum’s transition to PoS, validators) prioritize the largest transactions, descending in size from largest to smallest, and add them to the next block to be written to the blockchain.

This feature led to the creation of a mechanism for extracting value by substituting transactions in the right order. This method is known as maximum extractable value, or MEV.

The MEV strategy entails validators searching for speculative transactions based on available unconfirmed transactions and increasing the actual fees for their execution.

Let’s look at an example where an Ethereum user decided to exchange 10,000 USDC for ETH at $2,000 per coin on DEX in the USDC/ETH liquidity pool. Here’s what happens after you submit an exchange request:

  1. The mempool runs special bots that monitor unconfirmed transactions and collect various data from DeFi-applications, including price and liquidity volumes.
  2. When the bots detect a user’s intent to buy ETH, they initiate a transaction that raises the price just before the user’s transaction is executed. A bot, for example, can add more USDC/ETH to the liquidity pool to raise the price of ETH.
  3. Thus, the user’s expected price of $2000 per ETH coin will change to a notional $2500 per ETH coin. The transaction will be executed, but the user will only receive 4 ETH instead of 5 ETH. The initiator of this MEV transaction will profit 1 ETH minus commission costs.

Because MEV results in higher commissions for the user, it is also called an “invisible tax,” which is not unique to Ethereum.

When did the “invisible tax” appear in MEV?

The problem of “spoofing” user transactions, now called MEV, was first raised on Reddit by algorithmic trader and analyst Pmcgoohan in 2014, , prior to the launch of Ethereum mainnet. He proposed that miners could manipulate user transactions for their own gain without violating any consensus rules.

The term MEV was not coined until 2019 in “Flash Boys 2.0” which was the first publicly available publication to explore the severity of the problem described by Pmcgoohan.

The scale and seriousness of the problem was only brought up in 2020 in articles such as “Ethereum is a dark forest” and “Escaping the Dark Forest” written by Dan Robinson, Georgios Konstantopoulos, and crypto investor Samczsun. These publications were intended to inform Ethereum users about the “invisible tax” levied on them.

Varieties of MEVs

The growth of the decentralized finance (DeFi) sector and specific elements of the Ethereum ecosystem, such as price oracles, liquid tokens, and cross-chain bridges, has resulted in the emergence of various MEV strategies.

Front-running

The most common strategy where an MEV transaction is attempted before the original transaction. Special bots can track potentially profitable transactions by simply copying users’ transactions, acting ahead of the curve.

Back-running

Issuing a transaction as a consequence of an event. For example, as soon as a new pool appears on Uniswap, the exploiter may buy back a significant portion of the tokens and take first place in the queue, effectively emptying the pool. He then lets the other participants sell before selling himself at a higher price.

Sandwich Attack

A combination of the previous two schemes. If the bot finds a large buy order in the mempool, it places its own order in front of it to buy tokens at a lower price using frontrunning. The large order is executed, causing the price to rise. The coins are then sold at a profit ahead of the other users using back-running.

Liquidation

A strategy used by the validator to make profit by redeeming the pledged position in the lending protocol immediately after it has been liquidated. The user notices that the position can be liquidated in the next block and sends a transaction to redeem the collateral.

Uncle bandit attack

A complex type of MEV strategy based on a speculative chain of transactions found in a competing block. There are times when miners find two blocks at the same time. At that point, miners can use the data from the “neighboring” block to their advantage.

Time bandit attack

Involves a process of reorganizing previous blocks in which miners specifically suggest competing blocks containing other transactions. This results in the disappearance of transactions and their inclusion in a completely different block.

How to self-protect from MEV?

MEV is not unique to Ethereum. Bots moved into EVM-enabled blockchains such as Polygon and BNB Chain as the DeFi-application sector evolved and competition became more intense. However, in terms of combating this problem, Ethereum has become the most advanced network.

According to 2021 data, Ethereum miners earned $730 million in MEV extraction rewards, accounting for 4.3% of total annual revenue. This indicates the growth of “dishonest markets,” which leads to a worsening user experience through higher fees and a lack of predictability in the transaction execution process.

As a solution, a centralized Flashbots system, funded by venture capital firm Paradigm, emerged in 2020. It does not seek to eliminate the problem, but rather to take control of it by creating an open market through the development of a public auction of ETH transactions.

The solution quickly gained popularity. According to BitMEX, the research arm of the cryptocurrency exchange, more than 90% of miners on the Ethereum network were connected to the Flashbots server in May 2022. According to the researchers, 63% of the rewards for MEV transactions went to operators, while the remaining 37% went to miners.

Was it interesting? Leave your feedback in comments.Study more with us and make a profit with our exchange!

Comments

All Comments

Recommended for you

  • US Military Begins Interception of Vessels in the Strait of Hormuz

    On the 13th local time, the US military has started intercepting vessels entering and exiting the Strait of Hormuz. The US Central Command stated on the 12th that, following a presidential order, it would begin a blockade of all maritime traffic to and from Iranian ports at 10 AM Eastern Time on the 13th. The statement indicated that this blockade applies to all vessels from various countries entering and exiting Iranian ports and the coastal areas of the country, covering all Iranian ports located in the Persian Gulf and the Gulf of Oman. The Central Command noted that vessels traveling to and from non-Iranian ports through the Strait of Hormuz will not be interfered with. (CCTV)

  • BTC Surpasses $72,000

    Market data shows that BTC has surpassed $72,000, currently priced at $72,007.19, with a 24-hour increase of 1.63%. The market is experiencing significant volatility, so please ensure proper risk management.

  • Iran Considers Abandoning Uranium Enrichment as Condition for U.S. to End War

    On April 13, according to the New York Post: Iranian officials are exploring the possibility of abandoning uranium enrichment activities as a condition for the United States to end the war.

  • BitMine Increases ETH Holdings by Over 71,000, Total Holdings Exceed 4.87 Million ETH

    As of April 12, Eastern Time, BitMine's total cryptocurrency and cash holdings amount to $11.8 billion. BitMine holds 4,874,858 ETH (an increase of 71,524 ETH from last week), which represents 4.04% of the total Ethereum supply of 120.7 million ETH. Additionally, it holds 197 BTC, shares in Beast Industries valued at $200 million, shares in Eightco Holdings (NASDAQ: ORBS) worth $102 million, and $719 million in uncollateralized cash. As of April 13, 2026, the total amount of staked ETH by BitMine is 3,334,637 ETH (valued at $2,206 per ETH, totaling $7.4 billion).

  • UBS Group Raises Brent Crude Oil Price Forecast to $85 per Barrel by March 2027

    On April 13, UBS Group announced an increase in its Brent crude oil price forecast, projecting $100 per barrel by the end of June, $95 per barrel by the end of September, and $90 per barrel by the end of December. UBS Group has raised its forecast for Brent crude oil prices to $85 per barrel by the end of March 2027. (Jin Shi)

  • People's Bank of China: M2 Balance Reaches 353.86 Trillion Yuan at End of March, Up 8.5% Year-on-Year

    On April 13, it was reported that at the end of March, the broad money supply (M2) balance was 353.86 trillion yuan, an increase of 8.5% year-on-year. The narrow money supply (M1) balance stood at 119.32 trillion yuan, rising by 5.1% year-on-year. The currency in circulation (M0) balance was 14.71 trillion yuan, up 12.5% year-on-year. In the first quarter, a net cash injection of 613.5 billion yuan was made.

  • Trump: U.S. to Block Ships Entering and Exiting Iranian Ports on April 13 at 10 AM ET

    On April 13, President Trump announced that the United States will block ships entering and exiting Iranian ports at 10 AM Eastern Time on April 13. (Jin Shi)

  • Trump: The World Relies on the U.S. for Oil Without Crossing the Strait of Hormuz

    On April 13, Trump stated that due to Iran's actions regarding the Strait of Hormuz, the entire world is relying on the U.S. for oil. "We will implement blockade measures tomorrow at 10 AM... Other countries are also working to ensure that Iran cannot sell oil, and this will be very effective! Many ships are heading to our country, refueling, and then leaving to transport this oil, so they won't have to cross the Strait of Hormuz. This issue will ultimately be resolved. The whole world is relying on the U.S. Thanks to the 'Drill, Baby, Drill' campaign, our oil reserves have increased, surpassing the combined total of Russia and Saudi Arabia. The current situation is that ships are arriving, refueling, and no longer needing to cross the Strait of Hormuz!" (Jinshi)

  • BTC Surpasses $71,000

    Market data shows that BTC has surpassed $71,000, currently priced at $71,007.73, with a 24-hour decline of 2.79%. The market is experiencing significant volatility, so please ensure proper risk management.

  • ETH Falls Below $2200

    Market data shows that ETH has fallen below $2200, currently priced at $2199.99, with a 24-hour decline of 3.64%. The market is experiencing significant volatility, so please ensure proper risk management.