Quick Start
Key Considerations
Flashbots Protect has the following key benefits:
- Frontrunning protection: Transactions are hidden from the public mempool away from front-running and sandwich bots.
- Refunds: If your transaction creates MEV, you an earn an MEV refund. If your transaction pays high priority fees, you can earn gas fee refunds.
- No failed transactions: Transactions are only included in the block if they do not revert. Users do not pay fees for failed transactions.
- Configurable: You can customize your privacy, speed, and refund settings.
Faster Transactions
Use Protect in fast mode to land your transactions faster on chain. Click the "fast" option when configuring your Protect RPC or manually set your RPC to rpc.flashbots.net/fast
.
Fast mode details:
- Shared with all builders: Transactions are multiplexed, or shared, with all registered builders within one block after they are received. Multiplexing increases the probability that the transaction will be sent to the builder building the winning block.
- Larger validator payment: With the default RPC, 10% of the MEV-Share refund is paid to validators. In fast mode, validators receive a higher percentage of the MEV-Share refund increasing the probability that the transaction will be included in the winning block.
Note: When you send your transaction to a builder, you trust them not to frontrun your transaction or disclose it to third-party MEV searchers.
Customer Support
Wallets and applications can receive customer support for transactions tagged with their originId
. To opt into customer support, update your RPC URL to rpc.flashbots.net/fast?originId=[your-wallet-name]
.
If you submit a transaction through Flashbots Protect via the MetaMask wallet, do not switch RPCs before transaction confirmation. MetaMask may resend the transaction to the public mempool exposing your transaction to potential MEV attacks if RPCs are switched before transaction confirmation.
Using Flashbots Protect
There are three ways to use Flashbots Protect:
- Add the Flashbots Protect RPC to your wallet.
- Send transactions to the RPC URL using eth_sendRawTransaction.
- Send transactions to Flashbots using eth_sendPrivateTransaction.
The easiest way to use Flashbots Protect is to add the Flashbots Protect RPC to your wallet. Use the button below to create a custom Protect RPC or follow the manual instructions. 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/fast 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 Ethereum mainnet and testnets:
Network | URL |
---|---|
Mainnet | https://rpc.flashbots.net/fast |
Goerli | https://rpc-goerli.flashbots.net/ |
Sepolia | https://rpc-sepolia.flashbots.net/ |
Holesky | https://rpc-holesky.flashbots.net/ |
Stuck transactions
Please see our stuck transactions guide for help with dealing with transactions that are "stuck" as pending.