DEV Community

Earlene Feil
Earlene Feil

Posted on

Flashbots Protect vs MEV Blocker RPC: How to choose

Flashbots Protect and MEV Blocker both route Ethereum swaps privately, but differ in who runs them, how they return backrun value, and how you handle failed swaps.

How Flashbots Protect and MEV Blocker differ

Who runs each RPC?

Flashbots runs Flashbots Protect at rpc.flashbots.net. CoW Protocol launched MEV Blocker with Agnostic Relay and Beaver Build, and its RPC is rpc.mevblocker.io.

Both keep your transaction out of the public mempool, the waiting area where anyone can inspect pending transactions. Instead, they send it privately to block builders, who assemble Ethereum blocks. Front-running bots watch the public mempool for swaps they can trade ahead of, so keeping a swap private limits their chance to target it.

Think of the public mempool as a shop window where bots can see your order before it is filled. A private RPC is like handing the order to a broker directly. The analogy stops there: builders still process the transaction and decide what goes into a block.

How do refunds work?

Both services can return part of the value searchers earn by backrunning your swap. A backrun is a trade placed after yours to profit from the price change it caused.

Flashbots Protect uses MEV-Share, which lets searchers see selected hints about a transaction and compete to backrun it; part of the resulting value can go back to you. MEV Blocker shares orders with many builders and uses a backrun auction to return a share of the value searchers earn. In either case, a refund depends on a profitable backrun; it is not a guaranteed payment for every swap.

What happens when a swap reverts?

Flashbots Protect leaves out transactions that would revert, so a failed swap costs no gas. MEV Blocker offers a separate noreverts endpoint for the same behavior. If you use MEV Blocker and want this protection, choose that endpoint rather than assuming the standard one has it.

How much setup do they need?

Both can be added as an Ethereum mainnet RPC in a wallet such as MetaMask. Flashbots Protect is a straightforward choice if you want its revert protection without selecting a special endpoint. MEV Blocker gives you a distinct noreverts option, so the endpoint you add determines how failed transactions are handled.

Chainlist is a directory of EVM networks, chain IDs, RPC endpoints, and related connection details. Its Ethereum entry lists MEV-protection RPCs alongside public ones. When picking an endpoint there, keep the privacy and latency trade-off on Chainlist in mind, then confirm the selected RPC in MetaMask before swapping.

Who should choose each one?

Choose Flashbots Protect if you want a simple private route and failed swaps that cost no gas by default. Choose MEV Blocker if you prefer orders shared widely with builders and a backrun auction, and select its noreverts endpoint when you want reverted swaps excluded.

Protection applies only to transactions sent through the protected RPC. If you sign a swap while MetaMask still uses a public RPC, it can enter the public mempool. Confirm the active network and RPC just before swapping; changing an endpoint after signing will not reroute that transaction.

Related

Do MEV protection RPCs work on layer 2 networks?

These choices cover Ethereum mainnet. Layer 2 networks have their own transaction paths and RPCs, so check whether a provider offers protection for the specific network before relying on it.

Is a private RPC slower to confirm a transaction?

Confirmation time depends on builder routing, network conditions, and block inclusion. A private route can change the path your transaction takes, so compare the trade-off for the endpoint you plan to use.

For a simple default that avoids gas costs on failed swaps, use Flashbots Protect. Pick MEV Blocker when its broad builder sharing and backrun auction suit your priorities, and verify the active RPC before every swap.

Top comments (0)