Skip to content
CryptoSober

Glossary · Technical

MEV (maximal extractable value)

MEV, or maximal extractable value, is the profit made by choosing or reordering the transactions in a block, often at ordinary users' expense.

By Abu HosainPublished 1 min read

In simple terms

Whoever builds a block decides which transactions go in and in what order. MEV is the money that can be made from that power.

How it works

Pending transactions wait in the public mempool, where anyone can see them. Automated programs scan it for opportunities and pay to have their own transactions placed in a profitable position.

Some MEV is harmless, such as closing a price gap between two exchanges. Some is taken directly from users. In a "sandwich," a bot sees your large swap on a DEX, buys the same token just before you to push the price up, lets your trade go through at the worse price, then sells immediately after.

Example

Ines swaps a large amount with her slippage tolerance set to 10%. A bot sandwiches the trade, and she receives close to the minimum her setting allowed. With a 0.5% tolerance, the bot would have had little to take.

Why it matters for safety

MEV is a hidden cost of trading on public blockchains. You can reduce it by keeping slippage tolerance low, splitting very large swaps, and trading in pools with plenty of liquidity. Some wallets and apps offer protected transaction routes that keep a swap out of the public mempool.

A site that tells you to set a very high slippage is asking you to accept exactly the conditions under which the most can be taken from you.

Sources

  1. 01Ethereum.org, Maximal extractable value (MEV)

This page is educational. It is not financial, investment, legal, or tax advice. See our editorial policy and how to report an error.