Flashbots Auction works by letting searchers privately bid for transaction ordering through bundles that builders can include in an Ethereum block. The Flashbots research and infrastructure work gives you background on the MEV problem behind this system. Private bids move the competition for valuable ordering out of public gas wars.
Say a searcher sees a pending user swap that will change a token’s price. The searcher prepares a backrun arbitrage to trade after that swap, packages both signed transactions in that order, and offers a payment for inclusion. The searcher sends the bundle with the eth_sendBundle JSON-RPC method, targeting block N. A bundle is atomic: all its transactions land in order, or none do.
The builder simulates the bundle to see whether it succeeds and how much it pays. Payment can come through priority fees or a direct transfer to the block’s fee recipient. The builder compares it with other bids, accounts for bundles that conflict, and assembles the most valuable valid block it can. That is the auction: searchers compete privately for space and ordering in a builder’s block.
Since the Merge, builders offer completed blocks to validators through relays and MEV-Boost. A Flashbots Relay can carry a builder’s bid to the validator whose turn it is to propose a block. The proposer chooses the highest bid it accepts and signs a blinded block header; the relay then releases the full block. Following the path gives you the key roles: searcher submits a bundle, builder assembles a block, relay carries the bid, and validator proposes the winner.
The target block number matters. A bundle sent for block N expires if it is not included in N. To keep pursuing the arbitrage, the searcher must submit it again for the next block, using a new target number. They also need to reassess the opportunity: another trade may have changed the price, or the user swap may already have landed. A bundle that loses the auction or fails simulation is left out, so that attempt costs the searcher no onchain gas. Transactions in an included bundle pay gas normally.