What is MEV?

MEV stands for maximal (or miner) extractable value. It is the profit that whoever orders transactions in a block can earn by choosing, inserting or reordering them. For a trader, the most visible form is the sandwich attack.

Updated 2026-10-11

The idea in one paragraph

Pending transactions are visible before they are confirmed. A party that can see your swap and decide the order of transactions can place their own trades around yours when that is profitable. That is MEV.

How a sandwich attack works

  • You submit a buy with a generous slippage limit.
  • An attacker buys the same token just before you, pushing the price up.
  • Your buy fills at the worse price, pushing it up further.
  • The attacker sells right after you at the higher price and keeps the difference. You received fewer tokens than the quote suggested.

Ways to reduce your exposure

  • Keep slippage as tight as the market allows. The attacker can only take what your limit lets them.
  • Avoid very large trades in thin pools, where one order is easy to sandwich.
  • Where a chain or route offers protected submission of transactions, prefer it. Availability differs by chain.
  • Check the quote and the final fill after the trade, so you can see how far they differed.

What no tool can promise

MEV is a property of how public blockchains order transactions. Settings and routing reduce the effect but cannot remove it, and no trading terminal can promise it will never affect a trade.

Is MEV always harmful to traders?

No. Some MEV, such as arbitrage, helps keep prices consistent across markets. Sandwich attacks are the form that directly costs the person being sandwiched.

Does a lower slippage limit stop sandwiches?

It limits how much an attacker can take, because your trade fails if the price moves past your limit. It does not eliminate the risk.