Mev Protection/Flashbots

All about Flashbot and how it protects you!

With Consortium, you can use two transaction methods: Normal and Flashbot. The normal method will just send your tx to the public Ethereum pending pool for all eyes to see. On Flashbot however, the transaction will be sent to a private pending pool that in theory will guarantees your transaction privacy.

To summarize, here are the pros and cons of using Flashbot:

  • PROS: Your transaction will be private, meaning no sandwich bot will be able to attack you even with high slippage.

  • PROS: You will never get a failed transaction. This is because the private list of validators will only include transactions that will be guaranteed to succeed so they will get more transaction fees from it

  • CONS: Transaction Cost is Higher. You will need to pay more priority fees to the validator as an incentive for them to include your transaction in the block. Usually, it will be a 20-50% increase in gas fees.

  • CONS: Harder to debug. If your transaction fails, it won't show up in Etherscan so it will be harder to find out why it failed. Generally, if you have high enough slippage the reason is the gas fee as a bribe is too low.

There are some cases where your transaction will end up getting sandwiched even when using Flashbot which is when the Ethereum network block gets re-organized or reorg for short. The chance of this happening is at least 0.25% so do note that although it is very rare, it can still happen. To check if your block is getting reorg, refer to https://etherscan.io/blocks_forked.

ATTENTION: ADD % IF YOU WANT IT TO ADJUST GAS BASED ON GAS MARKET PRICE!

The amount of gas you use will fully define the speed your tx's are processed, and it's placement in the block. We recommend something like 250%,25 as your gas settings (meaning 250% of market price gas for the max fee, and a fixed priority fee of 25 gwei).

Last updated