

orda's team
Mar 17, 2026
You submit a swap. You're expecting 0.5 ETH. You get 0.497.
You check the transaction. No failed steps. No error messages. Everything looks normal.
But somewhere between clicking "confirm" and your transaction landing on-chain, someone extracted value from your trade. They saw what you were about to do, and they profited from it.
That's MEV.
The Waiting Room
When you submit a transaction on Ethereum, it doesn't execute immediately. It enters a public waiting room called the mempool. Your transaction sits there, visible to anyone watching, until a block builder picks it up and includes it in the next block.
Here's the problem: the order transactions appear in a block matters. And whoever controls that order can profit from it.
MEV stands for Maximal Extractable Value. It's the money that can be made by choosing which transactions go first, second, or last.
A Simple Example
You're about to swap 100,000 USDC for ETH on Uniswap. That's a big trade. It's going to move the price.
Your transaction hits the mempool. It's just sitting there, waiting.
A bot sees it. The bot knows your trade will push the ETH price up slightly. So it acts:
1. The bot buys ETH right before your trade executes
2. Your trade goes through, pushing the price up
3. The bot sells ETH at the new higher price
The bot made money. You got slightly less ETH than you should have. The price difference went into someone else's pocket.
This happens thousands of times per day.
The Four Flavors
Frontrunning
Someone sees your trade coming and jumps ahead of it. They profit from the price movement your trade causes. You get a worse price.
Sandwich Attacks
A more aggressive version. The attacker places one trade before yours and one trade after. They buy before you (pushing price up), let your trade execute (pushing it higher), then sell after you (capturing the difference). You're the filling in a very expensive sandwich.
Arbitrage
Same token, different prices on different exchanges. A bot buys where it's cheap, sells where it's expensive, and pockets the difference. This one actually helps markets stay in sync, but it's still MEV because profit depends on being first.
Liquidations
In lending protocols, underwater loans can be liquidated for a reward. Bots race to be first. Whoever wins the race gets paid. The competition for liquidation rewards is intense and expensive.
Who's Doing This?
Three players in the game:
Searchers - Bots scanning the mempool for opportunities. They find the trades worth exploiting and submit their own transactions to capture the value.
Builders - The entities that actually construct blocks. They decide which transactions go in and in what order. Searchers pay builders to get favorable positioning.
Validators - The participants who finalize blocks on proof-of-stake Ethereum. They choose which builder's block to propose. The MEV supply chain flows up to them.
Sometimes these roles overlap. Sometimes they're separate players cutting deals with each other. Either way, there's a lot of money moving through this system.
Why Should You Care?
If you've ever swapped tokens on-chain, MEV has probably cost you money.
The effects show up as:
> Worse prices on swaps (you got less than the quote showed)
> Higher gas fees (searchers bid up fees competing for position)
> Unpredictable execution (your transaction lands differently than expected)
Most users never notice. The amounts are small per transaction. But across millions of trades, MEV extraction adds up to billions of dollars per year.
What Can You Do About It?
A few options exist:
Private mempools - Some services let you submit transactions that aren't publicly visible, making them harder to frontrun.
MEV-aware routing - Some swap interfaces route your trade through paths designed to minimize extraction.
Slippage settings - Setting tighter slippage tolerance can cause your transaction to fail rather than execute at a bad price. Not ideal, but it limits downside.
Intent-based systems - Instead of broadcasting your exact transaction, you express what you want to happen. Solvers compete to fill your intent, and the competition can work in your favor rather than against you.
The Bottom Line
MEV is the tax you pay for transacting on a public blockchain with ordered transactions. Someone is always watching the mempool. Someone is always looking for an edge.
The good news: the ecosystem is building solutions. Private transaction pools, MEV-aware DEX aggregators, and intent-based systems are all attempts to redirect value back toward users.
The bad news: for now, the game continues. Every time you swap on-chain, you're playing whether you know it or not.
The Fairness Problem
Here's what makes MEV uncomfortable: it's a game where some players have permanent advantages.
If you can see pending transactions before they execute, and you can pay to position your own transactions around them, you will consistently extract value from people who can't. The person swapping on their phone has no idea they're competing against bots with direct connections to block builders.
This isn't a bug that got introduced somewhere. It's baked into how public blockchains work. Transactions are visible before they're final. Someone has to decide the order. That ordering power has value, and someone will capture it.
Whether this is "fair" depends on your definition. But it's definitely not a level playing field.
The Mempool is the Problem
Almost all MEV starts in the same place: the mempool.
When you submit a transaction, it doesn't go straight into a block. It enters a public waiting area where it sits, fully visible, until someone includes it. Anyone can watch. Anyone can see what you're about to do.
That visibility is the vulnerability. Searchers monitor the mempool constantly, looking for profitable setups. Your pending transaction is their signal.
Some newer approaches try to fix this at the source:
> Encrypted mempools - Transactions stay hidden until they're already finalized
> Private submission - Your transaction never hits the public mempool at all
> Batch auctions - Transactions execute together at the same price, removing ordering advantage
None of these have fully solved the problem yet. But they're all attacking the same root cause: public visibility before execution.
What MEV Is Not
A few things worth clearing up:
MEV is not a fee. No one charges you for MEV. It's value extracted through positioning, not a line item on your transaction.
MEV is not always bad. Arbitrage is MEV, and it keeps prices consistent across markets. Liquidations are MEV, and they keep lending protocols solvent. Some extraction is useful.
MEV is not just an Ethereum thing. Any blockchain where transaction ordering matters has MEV. Solana, Avalanche, L2s - the dynamics differ, but the concept applies everywhere.
MEV cannot be eliminated. As long as ordering matters and someone controls it, value will flow to whoever controls it. The question is how much and to whom.
The Short Version
MEV exists because three things are true:
1. Transaction order affects prices
2. Pending transactions are publicly visible
3. Some participants can act on that information before others
The result: frontrunning, sandwich attacks, arbitrage extraction, and liquidation races. Billions of dollars per year flowing from regular users to sophisticated actors.
Understanding MEV explains a lot of weird things in crypto: why your swap returned less than quoted, why gas fees spike during volatility, why "transaction ordering" is one of the most debated design problems in the space.
It's not going away. But knowing it exists is the first step to not getting eaten by it.


