Apr 2026 · 8 min read
MEV (maximal extractable value) refers to profit extracted by block producers or bots by reordering, inserting, or censoring your transactions. For onchain traders, MEV manifests most visibly as sandwich attacks that worsen your fill price. Definitive's onchain trading terminal routes trades through MEV-protected paths, offchain PMMs, and smart order routing across 100+ DEXs to minimize MEV exposure.
To protect yourself from MEV, you need to understand how it works mechanically.
The mempool is public. When you submit a standard Ethereum or EVM transaction, it sits in the public mempool — a waiting area visible to everyone before it's included in a block. MEV bots scan this mempool continuously, looking for profitable opportunities created by pending trades.
Sandwich attacks are the most common MEV vector. A sandwich attack works like this: a bot sees your pending swap (e.g., buy ETH with USDC). It frontruns your transaction by buying ETH first, pushing the price up slightly. Your trade executes at the elevated price. The bot then immediately sells the ETH it just bought into your order's price impact — pocketing the difference. You've been sandwiched: the bot profits, you pay more.
How much does sandwich MEV cost you? The cost depends on your trade size, the asset's liquidity depth, and your slippage tolerance. On thin-liquidity pairs, sandwich attacks can extract 1–3% or more per trade. On liquid pairs with tight slippage, the extraction is smaller but still present. For high-frequency traders or large position sizes, MEV losses compound significantly over time.
Other forms of MEV:
Who runs MEV bots? Sophisticated actors — from individual developers to dedicated firms — run MEV infrastructure. On Ethereum, MEV is institutionalized through Flashbots and similar systems. On newer chains, it's less organized but increasingly active.
See MEV Protected Trading for a full breakdown of MEV mechanics and its impact on DeFi traders.
MEV protection is not a single setting — it's a layered approach. Here's how to implement it at each level.
Step 1: Use a private mempool or MEV-protected RPC. The most direct protection against frontrunning and sandwich attacks is to route your transaction through a private channel that doesn't expose it to the public mempool. Flashbots Protect, MEV Blocker, and similar services accept your transaction and submit it directly to block builders without broadcasting to the mempool. If your trade isn't visible to bots, it can't be sandwiched.
Step 2: Set slippage tolerance correctly. High slippage tolerance is a sandwich attacker's best friend. A 5% slippage setting tells the bot exactly how much it can extract before your transaction reverts. Lower slippage reduces the sandwich attack's profitability — but too low and your transaction fails legitimately. The goal is minimum viable slippage that still allows your trade to execute.
Step 3: Use limit orders instead of market orders where possible. A limit order specifies an exact price — it won't execute above or below your set level. This eliminates the slippage window that MEV bots exploit. The tradeoff is that limit orders may not fill immediately or at all if the market doesn't reach your price.
Step 4: Trade through offchain PMMs where possible. Offchain private market makers (PMMs) fill your trade bilaterally — no public mempool exposure. The trade is agreed off-chain and then settled onchain, removing the MEV attack window entirely. Definitive routes through 15+ PMMs alongside its 100+ DEX integrations.
Step 5: Break large orders into smaller pieces. Large single swaps create significant price impact, which is exactly what MEV bots look for. Using TWAP orders — splitting your large trade into many smaller executions over time — reduces the profit opportunity for any single sandwich attack. See What is a TWAP Order in Crypto for how TWAP reduces both market impact and MEV exposure.
Choosing the right trading platform is one of the most impactful MEV protection decisions you can make. Not all platforms route with MEV protection in mind.
Smart order routing and liquidity splitting. Platforms that split your order across multiple DEXs and pools simultaneously — rather than routing through a single pool — reduce both the price impact and the MEV profit opportunity per venue. Definitive's smart routing across 100+ DEXs fragments your order in a way that makes sandwich attacks less profitable.
PMM integration. Offchain PMMs are fundamentally MEV-resistant because they don't use the public mempool. When Definitive routes your order (or part of it) through a PMM, that portion is protected. The platform automatically determines the optimal split between DEX routing and PMM fills.
Chain selection. MEV is significantly less developed on some chains compared to others. Solana's transaction model makes traditional sandwich attacks harder to execute. Base and Arbitrum have lower MEV activity than Ethereum mainnet. If MEV risk is a primary concern and your asset is available on multiple chains, trading on a chain with lower MEV activity is a valid strategy.
Slippage tolerance is both a protection setting and a risk setting. Getting it right is essential for MEV resistance.
What slippage tolerance does: Slippage tolerance sets the maximum price movement you'll accept between signing and execution. A 1% tolerance means your transaction will revert if the execution price is more than 1% worse than the quoted price.
The tradeoff: Low slippage = less MEV profit opportunity = better MEV protection. But low slippage also means transactions fail more often in volatile markets.
High slippage = more reliable execution. But it gives MEV bots more room to extract value, and in fast-moving markets can result in genuinely poor fills.
Recommended settings by asset type:
Asset Type
Recommended Slippage
ETH, BTC (liquid)
0.1–0.5%
Large-cap altcoins
0.5–1%
Mid-cap tokens
1–2%
Low-cap / long-tail tokens
2–5% (with awareness)
Memecoins / new launches
Up to 10–15% (MEV risk is high)
Auto-slippage vs. manual: Some platforms set slippage automatically based on pool liquidity and recent volatility. Manual control gives you more precision but requires more awareness. On Definitive, you control slippage settings for each trade.
Definitive is built with MEV protection as a core feature, not an afterthought.
How Definitive protects your trades:
MEV (maximal extractable value) is profit extracted by bots or block producers by manipulating the order of transactions in a block. For retail and institutional traders, the most common impact is sandwich attacks: bots frontrun your swap to push the price against you, then backrun it to capture the spread. The result is a worse execution price than you would have received without the attack.
Not entirely, but you can reduce it dramatically. Using private mempools, setting tight slippage, trading through PMMs, using limit orders, and routing through MEV-aware platforms like Definitive all reduce MEV exposure. Complete elimination would require submitting all transactions privately through block builders — which is increasingly feasible but adds complexity.
Definitive routes through smart order routing and PMM integrations that provide structural MEV protection. The platform's infrastructure is designed to minimize mempool exposure. For the most current technical details on Definitive's MEV protection implementation, check the Definitive documentation or contact the team directly.
Yes. Ethereum mainnet has the most developed MEV ecosystem, with sophisticated bot operators and established MEV infrastructure. Arbitrum and Base have lower MEV activity. Solana's architecture makes traditional sandwich attacks structurally harder. If MEV risk is a priority concern, trading on Base or Arbitrum through Definitive offers meaningful structural advantages.
Tight slippage limits the maximum value a sandwich attack can extract before your transaction reverts. If your slippage is 0.5%, a sandwich attacker can only push the price up to 0.5% before your trade fails — making many attacks unprofitable. The tradeoff is that very tight slippage can cause legitimate transaction failures in volatile markets. Balance protection with execution reliability based on the asset and market conditions.
Ready to trade onchain with institutional-grade execution? Try Definitive — gasless, multichain, and built for serious traders.