web3wagmi

How to Use Flashbots Protect, and What MEV-Boost and BuilderNet Do

Flashbots runs MEV-Boost, the Protect private RPC and BuilderNet. How each works, how to add Protect to your wallet, refunds, risks and what ePBS changes.

Last verified

Table of contents

Flashbots is the organization that built MEV-Boost, the system most Ethereum validators use to buy their blocks, and it offers Flashbots Protect, a free private RPC that hides your swaps from sandwich bots.

The differentiator is position. Flashbots sits at the point in Ethereum where transactions turn into blocks, so it can offer users something few others can: a path into blocks that skips the public mempool and pays users back for the value their trades create. The cost is trust. Every private route into a block depends on the builders and relays behind it behaving honestly, and Flashbots runs several of those.

If you only want protection, skip to how to use Flashbots Protect. For the concept of MEV itself, read our MEV explainer first. This guide covers the Flashbots products: MEV-Boost and the relay, Protect and its refunds, BuilderNet, SUAVE and the rollup tools, who built them, how they are funded, what has gone wrong, and what Ethereum's planned move to enshrined proposer-builder separation changes.

What is Flashbots?

Flashbots is a research and development organization, formed in 2020, that builds the infrastructure through which most Ethereum blocks are produced and most private transactions are routed.

MEV, maximal extractable value, is the profit available to whoever decides the order of transactions in a block. In 2020 that profit was being fought over in the public mempool through priority gas auctions, where bots outbid each other with ever-higher fees and clogged the network. Flashbots' first product, Flashbots Auction, moved that fight into a private sealed-bid market: searchers sent bundles of transactions with a payment attached, and miners included the best ones. That stopped most of the gas wars.

After Ethereum moved to proof of stake in September 2022, the same idea became MEV-Boost. Today Flashbots' work falls into four groups:

ProductWho uses itWhat it does
MEV-BoostValidatorsLets validators buy blocks from competing builders through relays
Flashbots relayBuilders and validatorsOne of the relays that broker those blocks
Flashbots Protect and MEV-ShareWallet users, wallets, appsPrivate transaction routing with refunds
BuilderNetOrder flow providers, searchersA shared block builder run by several operators
Rollup-Boost, op-rbuilder, SUAVERollups, researchersBlock-building tools for L2s and a long-term decentralized design

Flashbots has no token. It is a company funded by venture capital, and its builder activity now sits inside BuilderNet.

Sealed transaction parcels travel through a glass passage past mechanical sandwich bots toward a block builder, evoking Flashbots Protect.

How MEV-Boost works

MEV-Boost splits block production into three roles: builders assemble blocks, relays hold them and vouch for them, and validators sign the most valuable one without seeing its contents first.

The process for each 12-second slot:

  1. Searchers find opportunities, such as arbitrage or liquidations, and send bundles to builders.
  2. Builders combine bundles and ordinary transactions into the most valuable block they can, and attach a payment to the validator.
  3. Relays receive blocks from builders, check that they are valid and that the payment is real, and forward only the block header and bid to the validator.
  4. The validator running MEV-Boost picks the highest bid and signs its header.
  5. The relay then releases the full block body, which the validator publishes.

The relay exists because the builder and validator do not trust each other. The builder will not show its block before the validator commits, since the validator could steal the MEV. The validator will not commit blind without someone vouching that the block is valid and pays. The relay is that someone.

The result is that a home staker earns the same MEV income per block as a large staking company, since both buy blocks from the same competitive market. ethereum.org estimates that roughly nine in ten blocks go through MEV-Boost relays. The cost is concentration: a small number of builders, such as Titan and BuilderNet, produce most blocks, and a small number of relays broker them. If you run a validator, our ETH staking guide covers where MEV-Boost fits in a setup.

Relays and censorship

Relays can filter what they accept. After the US Treasury sanctioned Tornado Cash in August 2022, the Flashbots relay chose to filter transactions involving sanctioned addresses, and validators that used only compliant relays included fewer such transactions. Critics argued this let regulation shape what Ethereum includes. One co-founder, Stephane Gosselin, left Flashbots in October 2022 over disagreements on censorship. Validators can choose which relays to connect to, and many run a mix. For the legal background, see OFAC sanctions in crypto.

Flashbots Protect and how its refunds work

Flashbots Protect is a free RPC endpoint that sends your transactions to a private mempool and to BuilderNet, so bots never see them before they land, and it refunds you part of the value they create.

A sandwich attack needs to see your trade in advance. A bot spots your pending swap in the public mempool, buys just before you to push the price up, lets your trade fill at the worse price, then sells straight after. Protect removes the advance view.

The default settings

SettingDefault behaviour on rpc.flashbots.net
BuildersSent to the Flashbots builder, which now runs inside BuilderNet
Retry windowRetried for 25 blocks, then dropped if not included
Information shared with searchersThe transaction hash, plus partial logs for swaps on Uniswap, Curve and Balancer style pools
MEV refunds90% to the sender (tx.origin), 10% to the validator
Gas fee refunds100% to the sender
Zero priority feeNot accepted
Reverting transactionsNot included, so you pay nothing for them

Two kinds of refund apply.

MEV refunds come through MEV-Share. Protect shares limited "hints" about your transaction with searchers. A searcher who sees a backrunning opportunity, for example rebalancing a pool your large swap moved, bids for the right to trade after you, and most of that bid goes to you.

Gas fee refunds come from BuilderNet. Many users overpay priority fees. When BuilderNet lands a transaction it calculates what the transaction needed to pay and refunds the excess. Flashbots says refunds depend on congestion, BuilderNet's profit on the block and how much your transaction added. Refunds are tracked from 8 July 2024 and paid in batches, with newer batches sent from refunds.buildernet.eth.

A worked example

The figures are illustrative.

You swap 20 ETH for USDC on a large pool, allowing 1% slippage. Sent through the public mempool, a sandwich bot could buy ahead of you and leave your fill close to the 1% limit, costing you a few hundred dollars on a trade of that size. Sent through Protect, no bot sees it in advance. Your swap moves the pool price slightly, a searcher pays to rebalance it, and if that backrun is worth $40, the default split returns $36 to you and $4 to the validator. If you had set a priority fee higher than needed, part of it comes back as a gas refund.

Privacy and fast mode

You can tune Protect with URL parameters:

  • Maximum privacy: https://rpc.flashbots.net?hint=hash shares only the hash, which hides everything identifiable and usually means smaller refunds.
  • Maximum refund: adding hints for calldata, contract address, function selector and logs gives searchers more to work with.
  • Fast mode: https://rpc.flashbots.net/fast shares your transaction with all registered builders within a block, pays validators a larger slice of the MEV refund to improve inclusion, and shares full transaction details, without signatures, with searchers running inside TEEs.

How to use Flashbots Protect

Add the Protect RPC to your wallet as a custom network, switch to it, and trade as usual.

In MetaMask:

  1. Open the network menu at the top of the wallet.
  2. Choose Add network, then Add a network manually.
  3. Fill in the fields:
    • Network name: Flashbots Protect
    • RPC URL: https://rpc.flashbots.net/fast (or the default https://rpc.flashbots.net)
    • Chain ID: 1
    • Currency symbol: ETH
    • Block explorer: https://etherscan.io
  4. Save and switch to Flashbots Protect.
  5. Make your swap. Set a priority fee above zero, since Protect drops zero-fee transactions.
  6. Wait for confirmation before switching networks.

Other wallets that let you edit the Ethereum RPC, such as Rabby, work the same way, and several wallets and apps route through Protect by default. Developers can send to the RPC with eth_sendRawTransaction, or use eth_sendPrivateTransaction on the Flashbots API. A Sepolia endpoint exists for testing, and Protect is reachable over Tor through an onion address published in the docs. To check refunds, Flashbots provides the flashbots_getFeeRefundTotalsByRecipient RPC method. The full parameter list is in the Flashbots Protect documentation.

Protect covers Ethereum mainnet. On L2s, where a single sequencer orders transactions, sandwich risk works differently; see what layer 2s are for the model.

BuilderNet

BuilderNet is a block builder run jointly by several operators, created to replace Flashbots' own centralized builder and to share the value of order flow with the people who send it.

Block building had become the most centralized layer of Ethereum. A few builders received exclusive order flow from wallets and apps, which let them win more blocks, which attracted more exclusive flow. BuilderNet tries to break that loop by making the builder a shared network.

Key dates from BuilderNet's own records:

MilestoneDate
First mainnet block12 November 2024 (slot 10,383,036)
Public launch, with Flashbots, Beaverbuild and Nethermind as operators26 November 2024
Beaverbuild retires its centralized builder to work on BuilderNet6 May 2025
v1.4, Pectra-ready13 May 2025
v1.6, orderflow rewrite and Fusaka support2 December 2025

Each operator runs an instance of rbuilder, Flashbots' open-source Rust builder. Instances share order flow and coordinate bids. Users and apps are refunded the value their order flow added to the final block, which is where Protect's gas refunds come from. Public trackers have put BuilderNet's share of Ethereum blocks somewhere between a quarter and a third in 2025 and early 2026; check a live dashboard before relying on any figure.

The design relied on trusted execution environments, hardware enclaves that let an operator run the builder without being able to read private transactions. BuilderNet's documentation currently carries a notice that the network is transitioning to a new security model and that, during this period, its nodes are not running in TEEs, while backrunning and routing services still are. That means users currently trust the operators more directly than the original design intended. Critics had already argued that BuilderNet swaps trust in individual builders for trust in Flashbots' software and processes.

SUAVE and Flashbots' rollup work

SUAVE is Flashbots' long-term design for a decentralized block-building network; the rollup tools it spun out are what is in production today.

SUAVE, short for Single Unifying Auction for Value Expression, was announced as a separate network where users express preferences and builders compete across chains, with privacy from trusted hardware. A testnet named Toliman launched. A full SUAVE mainnet has not launched, and the concrete results so far are smaller pieces.

Rollup-Boost is a sidecar that lets rollups add block-building extensions without forking their node software. It launched with Unichain as a proving ground. op-rbuilder is a block builder for OP Stack chains. Base runs both for Flashblocks, which stream 200-millisecond sub-blocks inside each two-second block to give sub-second preconfirmations. Base says Flashbots built both components and still maintains them.

Who built Flashbots

Flashbots was formed in 2020 by MEV researchers, several of whom wrote the research that named the problem.

  • Phil Daian, co-founder and co-author of Flash Boys 2.0, the 2019 paper that coined the term miner extractable value and documented priority gas auctions.
  • Tina Zhen, co-founder, described as a core maintainer who leads the organization's research culture.
  • Stephane Gosselin, co-founder, who left in October 2022 over disagreements about censorship and later founded OneBalance.
  • Alex Obadia, co-founder, who left in June 2023.

The organization grew out of a research collective formed in mid-2020 and describes itself as a group of researchers, builders and white-hat security people. Public sources list its base variously as the Cayman Islands and Singapore.

What the background implies: Flashbots is strong on research, open-source code and public post-mortems, and its forum is one of the better records of how Ethereum's MEV supply chain works. The tension is that a research group also runs core infrastructure, and its choices, such as relay filtering, carry policy weight for the whole network.

The money: funding and business model

Flashbots has raised venture capital from Paradigm, including a $60 million Series B in 2023, and offers its user-facing products for free.

RoundAmountDateLeadValuation
SeedNot disclosed2020Paradigm, per CrunchbaseNot disclosed
Series B$60MJuly 2023ParadigmAt least $1 billion, per a Flashbots representative quoted by Bloomberg

CoinDesk reported that a Flashbots spokesperson declined to confirm the $1 billion figure to it, and The Block noted an SEC filing showing about $30.4 million raised at the time of filing. We found no disclosed details of any round between the seed and the Series B, so the table lists only what is reported.

The business model is less direct than a fee. Protect costs users nothing. The relay does not charge validators. Builder profit from BuilderNet blocks funds refunds to order flow. Flashbots' value lies in its central role in Ethereum's block supply chain and the research and products it can build from there.

Security history

The most serious incident in Flashbots' infrastructure was the April 2023 MEV-Boost relay exploit, where a malicious validator used a relay bug to steal from sandwich bots.

The April 2023 relay exploit in detail

On 2 to 3 April 2023 a validator that had been active for about three weeks exploited a flaw in the mev-boost-relay code that Flashbots maintains. The relay revealed a block's full contents to a validator as long as the validator signed a valid block header, even if that signed block was never successfully published.

The attacker used that gap. They lured sandwich bots with bait transactions, signed a block header to get the full block, then used what they saw to publish a different block that reordered the bots' transactions against them. Flashbots' post-mortem put the losses at about $20 million, a figure Paradigm also used. CertiK's onchain tally came to about $25.4 million. The victims were MEV bots, and users' funds were not the target.

The fix shipped the same morning: relays stopped returning block bodies to validators if the block failed to publish to the beacon chain. Later that month an anonymous researcher known as "low-carb-crusader" disclosed a related block equivocation strategy using early payload requests. Flashbots published a mitigation and said its logs showed the strategy was never used in production.

The lesson is that relays are trusted middlemen with a real attack surface, and that is the main argument for moving their job into the protocol through ePBS.

What ePBS changes

Enshrined proposer-builder separation, EIP-7732, makes Ethereum itself handle the trade between builders and validators that MEV-Boost relays handle today.

ePBS is the headline change in the Glamsterdam upgrade. ethereum.org's roadmap page, updated in October 2026, lists Glamsterdam as testing on devnets with mainnet expected in the fourth quarter of 2026 and no confirmed date, after a Hoodi testnet fork scheduled for 27 October 2026. The page says ePBS removes the need for third-party middleware such as MEV-Boost for the core exchange, and that builders and validators may still use relays for features the protocol does not cover.

What it means in practice:

  • For validators, relays become optional for getting paid fairly.
  • For Flashbots, MEV-Boost's central role shrinks, while Protect, MEV-Share and BuilderNet keep their purpose because they deal with order flow and building rather than the handoff.
  • For users, nothing changes about using Protect.

Flashbots Protect vs MEV Blocker, CoW Swap and the public mempool

Protect is a general-purpose private RPC; the alternatives either do the same with different builders or avoid the mempool problem by changing how trades settle.

Flashbots ProtectMEV BlockerCoW SwapUniswapXPublic mempool
How it worksPrivate RPC to BuilderNet and optional other buildersPrivate RPC that auctions backruns to searchersBatch auctions settled by solversSigned orders filled by competing fillersBroadcast to every node
Sandwich protectionYes, if builders are honestYes, if builders are honestYes, by design of the batchYes, fillers take the price riskNone
RefundsMEV refunds plus gas fee refundsBackrun rebatesSurplus returned to tradersPrice improvementNone
Failed transactionsNot included, no costVariesNo cost, solver pays gasNo cost, filler pays gasYou pay for reverts
CoversAny Ethereum transactionAny Ethereum transactionSwaps through CoWSwaps through UniswapXEverything

Use the table this way. For any transaction, swaps, mints or contract calls, switch the wallet's RPC to Protect or MEV Blocker. For swaps specifically, an intent-based venue such as CoW Swap or Uniswap's UniswapX removes the mempool exposure in a different way and often adds price improvement. Many careful traders use both: a private RPC on the wallet and an intent venue for large swaps.

Fees and costs

Flashbots Protect is free; your costs are normal gas, slippage and the trust you place in builders.

  • Gas. You pay ordinary Ethereum gas. Protect can refund overpaid priority fees when BuilderNet lands your transaction. See gas fees explained for how the fee is set.
  • Zero-fee transactions are dropped, so you must pay at least a small priority fee.
  • Slippage. Protect stops bots from pushing you to your limit, but price impact from your own trade still applies. A wide slippage setting still leaves room for a bad fill.
  • Inclusion delay. The default route sends only to BuilderNet, which does not win every block, so a transaction can wait several blocks. Fast mode trades that delay for wider sharing.
  • Refund split. By default 10% of MEV refunds goes to the validator to encourage inclusion; fast mode gives validators more.

Validators pay nothing to run MEV-Boost and earn more from it than from local block building in almost every slot. Current gas levels are on our Market Terminal, linked below.

Adoption cases: bull, base and bear

Flashbots has no token, so these are cases about its role in Ethereum, each with an observable.

Bull case. BuilderNet becomes the neutral default builder, restores its TEE security model, and draws most wallet order flow because it refunds users. Rollup-Boost spreads to more L2s. ePBS reduces relay risk without reducing demand for Flashbots' building and order flow products. The observable: BuilderNet's block share rising, more operators joining, and the TEE notice removed from its docs.

Base case. Flashbots remains one of two or three dominant building groups, Protect stays the best-known private RPC, and ePBS shrinks MEV-Boost to a fallback. The observable: BuilderNet's share holding in the same range, and steady rollup adoption.

Bear case. Exclusive order flow deals pull volume to rival builders, BuilderNet's trust model stays weaker than promised, and ePBS removes the relay role without Flashbots gaining elsewhere. The observable: BuilderNet's share falling, big wallets switching default RPCs, or a new relay or builder incident.

What to watch, concretely

  • Glamsterdam's mainnet date and the final shape of ePBS.
  • BuilderNet's block share on public builder dashboards.
  • The TEE notice on BuilderNet's documentation, and the new security model that replaces it.
  • Operator count in BuilderNet beyond the founding three.
  • Refund totals paid from refunds.buildernet.eth.
  • Rollups adopting Rollup-Boost, beyond Unichain and Base.

Common mistakes

Most Protect mistakes come from switching networks mid-transaction or assuming privacy fixes a bad trade.

  1. Switching RPCs while a transaction is pending. MetaMask may rebroadcast it to the public mempool. Fix: wait for confirmation before switching.
  2. Setting a zero priority fee. Protect drops it. Fix: set a small priority fee; overpayment can be refunded.
  3. Leaving slippage wide. Protect cannot undo a bad limit. Fix: keep slippage tight, and use an intent venue for large swaps.
  4. Assuming it works on L2s. Protect is an Ethereum mainnet RPC. Fix: use each L2's own recommended routing.
  5. Using fast mode for everything. It shares your transaction more widely. Fix: use the default or a short builder list for large or sensitive trades.
  6. Thinking stuck means lost. A transaction not included within 25 blocks is dropped. Fix: follow Flashbots' stuck transaction guide and resend with a sensible fee.
  7. Expecting a refund every time. Most transactions create little MEV. Fix: treat refunds as a bonus, with protection as the reason to use it.

Who Flashbots Protect is for

Protect suits anyone who swaps, mints or trades on Ethereum mainnet from a wallet that lets them change the RPC.

Good fit. DEX traders, NFT minters, anyone making large transfers into pools, wallets and apps that want to protect their users, and validators who want MEV income through MEV-Boost.

Look elsewhere or combine. Traders who mainly swap on intent-based venues already get similar protection there. Users mostly on L2s need each chain's own tools. People who want no trust in any builder have no perfect option today, and the public mempool is worse.

The bottom line

Flashbots built most of the machinery through which Ethereum blocks are made, and Flashbots Protect is the easiest way for an ordinary user to benefit from it.

Switching your wallet's RPC to Protect takes two minutes and removes the most common way ordinary traders lose money to MEV. The wider picture is more mixed. MEV-Boost spread MEV income fairly across validators and concentrated building in a few hands. BuilderNet is a serious attempt to fix that, with a security model that is currently weaker than its design. ePBS will soon move the relay's job into the protocol, and that is the change to watch.

Frequently asked questions

What is Flashbots?

Flashbots is a research and development organization formed in 2020 to study and reduce the harms of MEV, the value that can be captured by reordering, inserting or censoring transactions in a block. It built MEV-Boost, the middleware most Ethereum validators use to source blocks from specialist builders, runs one of the main MEV-Boost relays, offers Flashbots Protect as a free private transaction RPC, and leads BuilderNet, a block-building network operated by several firms. It also maintains rollup tools such as Rollup-Boost and works on SUAVE, a longer-term design for decentralized block building.

How do I add Flashbots Protect to MetaMask?

Open MetaMask, go to the network menu and choose to add a network manually. Enter Flashbots Protect as the name, https://rpc.flashbots.net/fast as the RPC URL, 1 as the chain ID, ETH as the currency symbol and https://etherscan.io as the block explorer, then save and switch to it. Your transactions now go to Flashbots instead of the public mempool. Do not switch back to another RPC while a transaction is pending, because MetaMask may rebroadcast it publicly and expose it to the bots you were avoiding.

Is Flashbots Protect free?

Yes. Flashbots does not charge users for Protect. You pay normal Ethereum gas, and Protect can return part of it: when BuilderNet lands your transaction for less than you offered, the overpayment is refunded, and if your trade creates a backrunning opportunity, you receive most of the value searchers pay for it. Protect does not accept transactions with a zero priority fee, and transactions that would revert are simply not included, so you pay nothing for a swap that fails.

Does Flashbots Protect stop all MEV?

It stops the common attacks that need to see your transaction before it lands, such as sandwiching and frontrunning, as long as the builders that receive it behave honestly. It does not stop all MEV. Backrunning, where a searcher trades after you to rebalance prices, still happens, and Protect turns part of that value into a refund for you. Your trade also still pays whatever price impact and slippage you allowed. Set a tight slippage limit, because a private RPC cannot fix a bad quote.

What is MEV-Boost?

MEV-Boost is open-source software that Ethereum validators run alongside their consensus client. Instead of building blocks themselves, validators receive bids from many specialist builders through relays, sign the header of the highest bid without seeing its contents, and then receive the full block from the relay. The design, an outside version of proposer-builder separation, lets small validators earn the same MEV income as large ones. ethereum.org estimates that roughly nine in ten blocks are produced this way.

What is BuilderNet?

BuilderNet is a block-building network for Ethereum launched in November 2024 by Flashbots, Beaverbuild and Nethermind. Several operators run instances of the open-source rbuilder, share order flow and coordinate bids, and the value that order flow adds to blocks is refunded to the users and apps that sent it. It was designed to run builders inside trusted execution environments so operators cannot see private transactions. Its documentation currently says the network is transitioning to a new security model and that nodes are not running in TEEs during that period.

What does ePBS mean for Flashbots?

Enshrined proposer-builder separation, specified in EIP-7732, moves the handoff between block builders and validators into Ethereum's protocol, so validators no longer need relays to trust that a builder will pay and reveal its block. It is the headline change in the Glamsterdam upgrade, which ethereum.org lists as expected in the fourth quarter of 2026 with no confirmed mainnet date. MEV-Boost's core job would become optional, though ethereum.org notes that builders and validators may still use relays for features the protocol does not cover. Protect and BuilderNet continue either way.

Sources & References

Figures in this guide are cross-referenced against the sources below.