Start typing to search this publication.
crypto.news logo crypto.news
Open menu
crypto.news logo

Subscribe to crypto.news

Get new posts delivered straight to your inbox.

What Is Flashbots Protect? A Private Swap RPC Explained

crypto.news avatar crypto.news
1 min read

Flashbots Protect is a free RPC endpoint that sends wallet transactions privately to block builders instead of the public Ethereum mempool. Sandwich bots watch that mempool for swaps they can trade around. Before changing your wallet’s RPC for a swap, use Flashbots to understand how Protect handles transaction privacy and decide which setting fits your timing.

How Does Flashbots Protect Handle a Swap?

Flashbots Protect routes a signed swap transaction from your wallet to block builders without exposing it to the public mempool. Say you send a Uniswap swap from MetaMask using the Protect RPC. The transaction can land in an Ethereum block normally, while a bot watching the public mempool cannot see it in time to sandwich it.

  • Your wallet signs the swap transaction.

  • The Protect RPC forwards it privately to block builders.

  • A builder includes it in a block without prior public mempool exposure.

To use that route, add rpc.flashbots.net as a custom network in your wallet and select it for the swap. Protect also keeps transactions that would revert out of blocks, so a failed swap costs no gas. If a searcher earns value by trading after your swap, MEV-Share returns part of that backrun value to you.

Should You Use Protect’s Default or Fast Setting?

Protect’s default setting shares your transaction with fewer builders, but inclusion may take a few blocks. That delay matters when you want a swap to execute promptly: the market can move while your transaction waits. The /fast URL sends the transaction to more builders, improving its chance of landing sooner. More builders also means more parties see your signed transaction before it enters a block.

For a swap where you can wait a few blocks, choose the default RPC to keep that circle smaller. When speed matters more, choose /fast and accept the wider sharing. Pick the setting before you submit the swap.

Subscribe to crypto.news