Flashbots Protect has the following key benefits:
- Configurable: you can choose which builders to send to and your mev-share settings.
- Frontrunning protection: your transaction will not be seen by hungry sandwich bots in the public mempool.
- Get MEV back: if your transaction creates MEV, you get up to 90% of it back through MEV-Share.
- No failed transactions: your transaction will only be included if it doesn't include any reverts, so you don't pay for failed transactions.
You can speed up your transaction's inclusion by using Protect in fast mode. Click the "fast" option when configuring your Protect RPC or manually set your RPC to
Fast mode has 2 key differences from the default Protect experience:
- Shared with all builders: By default, Protect transactions are only shared with the Flashbots Builder, which builds only a subset of all Ethereum blocks. In fast mode, transactions are shared with all registered builders to increase the number of blocks the user's transaction can be included in.
- Larger refund paid to validator: By default, only 10% of MEV-Share refunds are paid to validators. In fast mode, validators receive 50% of refunds which makes it more likely that the user’s transactions will be chosen in a given block.
Note: When you send your transaction to a builder, you are entrusting them not to frontrun your transaction or disclose it to third parties who might.
Transactions Without MEV
Flashbots Protect screens all transactions to check if they need MEV protection. If your transaction is performing an action that does not typically generate MEV, it will automatically be sent to the public mempool for faster inclusion.
The following functions do not typically require MEV protection:
safe transfer (NFT).
If you submit a transaction through Flashbots Protect using MetaMask and then switch RPCs before the transaction is confirmed, MetaMask may resend the transaction to the public mempool. This could expose your transaction to MEV attacks.
To avoid this, ensure you do not switch RPCs until your transaction has been successfully included in a block.
Using Flashbots Protect
There are three ways to use Flashbots Protect:
- Add the Flashbots Protect RPC to your wallet. Most users will do this.
- Send transactions to the RPC URL using eth_sendRawTransaction.
- Send transactions to Flashbots using eth_sendPrivateTransaction.
Which way you integrate is up to you and your preferences. The most simple way to use Flashbots Protect is to add the Flashbots Protect RPC to your wallet. You can do so using the below button or by following the manual instructions below. Note that you can configure the builders you send to and your MEV-Share hints as well.
Adding Flashbots Protect RPC Manually
You can also add Flashbots Protect RPC manually in MetaMask by following these steps:
- Expand the Network drop-down menu by clicking on your current network at the top of your MetaMask. By default you are connected to “Ethereum mainnet.”
- Click “Add network”
- Click “Add a network manually” and fill in the following information:
- Network Name: Flashbots Protect
- New RPC URL: https://rpc.flashbots.net or the URL provided above based on your configuration
- Chain ID: 1
- Currency Symbol: ETH
- Block Explorer URL: https://etherscan.io/
- Click “Save.”
- Click “Switch to Flashbots Protect”
Flashbots Protect RPC for Goerli testnet can be added with these details:
- Network Name: Goerli Flashbots Protect
- New RPC URL: https://rpc-goerli.flashbots.net
- Chain ID: 5
- Currency Symbol: ETH
- Block Explorer URL: https://goerli.etherscan.io/
Below is the list of Flashbots Protect RPCs we currently support across the Ethereum mainnet and testnets:
If a transaction is "stuck" as pending then please see our stuck transactions guide.