docs.flashbots.net Open in urlscan Pro
76.76.21.61  Public Scan

Submitted URL: https://rpc.flashbots.net/
Effective URL: https://docs.flashbots.net/flashbots-protect/quick-start
Submission: On May 01 via api from US — Scanned from DE

Form analysis 0 forms found in the DOM

Text Content

Skip to main content

FlashbotsDocsAPI
GitHub

SearchK

 * Welcome
 * Flashbots Builders
 * Flashbots Protect
   * MEV Protection Overview
   * Quick start
   * MEV-Share
   * Cancellations
   * Fixing Stuck Transactions
   * Large transaction allowlist
   * Additional Documentation
 * Flashbots Data
 * MEV-Boost
 * MEV-Share
 * Community
 * Contribute
 * Forum
 * Discord
 * GitHub
 * Status
 * Data Privacy Notice
 * Terms of Service
 * Prohibited Use Policy
 * Brand Assets

 * 
 * Flashbots Protect
 * Quick start

On this page


QUICK START


KEY CONSIDERATIONS

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.


FASTER 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 rpc.flashbots.net/fast.

Fast mode has 2 key differences from the default Protect experience:

 1. 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.
 2. 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: transfer,
transferFrom, approve, (weth) withdraw, (weth) deposit, safe transfer (NFT).

Switching RPCs Before Transaction Confirmation

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:

 1. Add the Flashbots Protect RPC to your wallet. Most users will do this.
 2. Send transactions to the RPC URL using eth_sendRawTransaction.
 3. 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:

 1. 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.”
 2. Click “Add network”
 3. 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/

 4. Click “Save.”
 5. 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:

NetworkURLMainnethttps://rpc.flashbots.netGoerlihttps://rpc-goerli.flashbots.netSepoliahttps://rpc-sepolia.flashbots.netHoleskyhttps://rpc-holesky.flashbots.net


STUCK TRANSACTIONS

If a transaction is "stuck" as pending then please see our stuck transactions
guide.

Edit this page
Last updated on Apr 4, 2024
Previous
MEV Protection Overview
Next
MEV-Share
 * Key Considerations
   * Faster Transactions
   * Transactions Without MEV
 * Using Flashbots Protect
 * Adding Flashbots Protect RPC Manually
 * Stuck transactions