Skip to main content

Gas Fee Refunds

Introduction

Flashbots Protect users are automatically eligible to receive gas fee refunds. If Flashbots can include your transaction on chain for a lower price, you are eligible to receive a refund. This applies to both the RPC and the private transaction API.

Gas fee refunds do not change how transactions are executed and users do not need to make any changes to be eligible for them. Gas fee refunds are calculated separately, and applied in addition to, MEV refunds from MEV-Share.

Where do refunds come from

Users and orderflow providers (like wallets) often pay high priority fees to land transactions on chain. Many of these transactions could be executed just as quickly for a fraction of the gas cost.

It can be difficult to estimate gas correctly when sending a transaction. The Flashbots block builder calculates this on behalf of users and automatically refunds transactions that overpay.

Gas fee refunds include both priority fees (more common in user transactions) and coinbase transfers (less common).

Which transactions receive refunds

Flashbots provides refunds for transactions in blocks landed by the Flashbots block builder. Whether a transaction receives a refund depends on a few factors that vary from block to block:

  • How much network congestion and competition there was
  • Whether the Flashbots builder made a profit and how much
  • How much the specific transaction contributed to the value of the block
  • If the transaction was sent directly to Flashbots, or shared with other RPCs and block builders

Note that transactions seen in the public mempool are excluded and do not receive refunds.

How to maximize both refunds and speed

Transactions which are sent directly to the Flashbots RPC or API, and not multiplexed by the user to other RPCs or block builders, are likely to receive higher refunds. This is because they increase the profit of the Flashbots builder which is used to provide refunds.

The Flashbots block builder does not land 100% of blocks. In order to improve inclusion speed, users can ask Flashbots to share their transactions with other block builders in cases where the Flashbots builder does not win a block. Flashbots will automatically share with all specified builders on the user's behalf.

There are two ways to share with other builders:

Who receives refunds

For the RPC: The refund recipient is the address specified in the first refund parameter on an RPC request, if one is provided. Otherwise, refunds are sent to the transaction originator (tx.origin) by default.

For the private transaction API: The refund recipient is the signer used on the eth_sendPrivateTransaction request.

How to track refunds

Refunds are tracked from a start date of July 8, 2024. Refunds are sent to recipients in batches, the first batch originated from our builder address 0xdf99A0839818B3f120EBAC9B73f82B617Dc6A555 while newer batches originate from refunds.builder-net.eth. The recipient can track the status of their refunds using the flashbots_getFeeRefundTotalsByRecipient RPC method.

Distributed refunds

Refunds have been sent as part of the following on-chain transactions:

Block NumberSenderTransaction HashRefunded Amount
207286710xdf99A0839818B3f120EBAC9B73f82B617Dc6A5550xe4c242dbaf75b0c72bf061cb0b24dfb2ac9b889c8312f85502b819c5221434750.005350659617303609 ETH
207307020xdf99A0839818B3f120EBAC9B73f82B617Dc6A5550x7f4b2747bca62e7cb30595bc8fd597d00b111f6e30836f90420a5f596fe6fb202.178974530716050227 ETH
207373570xdf99A0839818B3f120EBAC9B73f82B617Dc6A5550xa975df43bd397f2a6776811c46d8208df5833b4800f152d5e7df2f96fc20d5601.012930151524122284 ETH
21339408refunds.builder-net.eth0x6af209ffb4cea17b67853397fcdfd1025e791454800104f5a6dcbbde81f423cc22.696639304884811275 ETH
21339504refunds.builder-net.eth0xf1b56b819fef1e182591395acb3e34eccf30359cd59cffd70e2f12770573c58c10.596114311812833937 ETH
21339614refunds.builder-net.eth0x15c574333c04bc89f611b141f558d20f5a09200ac2dbe0d950a8a4ec5b5769015.720458302385516676 ETH
21339783refunds.builder-net.eth0x37c148fdf2fa5ee7a154103e859b1ce0c617d25a52aad429de1fff0e788ef2a84.398609230595013961 ETH
21339879refunds.builder-net.eth0xe617be0c0e2fa01efb5745e154dad56f4bf7725d5fb79d7bf6aa41b5bb2aa6604.111560390931258583 ETH
21339954refunds.builder-net.eth0x9d6f064f1eb8bad542b6e4307c9a3f924a96fda36b4d9d2ec41397e52b54009c3.385366380278296034 ETH
21340044refunds.builder-net.eth0x282f75a795c8dccca90d05f0f6a9906ccf133bdbd944cf464989c9783b804da01.622054558000000000 ETH
21340121refunds.builder-net.eth0x46cb3c3ece73b44b4e4ee035236ef8536f057ddccaf64accbb671695a8ad85321.364792326668615352 ETH
21340172refunds.builder-net.eth0x78968741236ee590b4d21c56efee404f1d7b82a1b4ad842877470236abe7d0851.343967724318870171 ETH
21340277refunds.builder-net.eth0xbef7866abf31f7b64261ffccc16e6d1d501a4dbf833bfd71b43c7079eeea72b91.293981835322395710 ETH
21340358refunds.builder-net.eth0x9919cab43a93b4838a2379e9a1d0c512742bf6e54a590e80725c775591b7b8f24.188364353034060336 ETH
21340429refunds.builder-net.eth0x5d4e96a0d203e868b4447af6d4cf846cd8add8089491923b407d607d232902ac4.247773075467058854 ETH
21340499refunds.builder-net.eth0x335549c133fab77753ad8c9791475d31bcd73af6484d57d1e8f3021b55e04ad54.791653236812113187 ETH
21340660refunds.builder-net.eth0x5bf7efebf9fa80e72d8bff8512a72d1786b28ee5f02de007ff0f299aec4818e54.670721625737671041 ETH
21340780refunds.builder-net.eth0x0731d0cde22c60843c2bf6742fe0b3e5117e287e69b66b512fc407eafaf122f03.110839941634292850 ETH
21340875refunds.builder-net.eth0x3b32356b4d92cc22b28019fdd46f61f68cc557cf38b6a7ef0b11d557f52f29972.615271811455445487 ETH
21341242refunds.builder-net.eth0xe3aaa947a24a98ac7124beaddb037790e4820cccf72bc0a6c36d7cf970c461884.664769720766776018 ETH
21341365refunds.builder-net.eth0x5b1a7f94068fb00dafa65ed7afca14a5bdf459bacbf3c37d4167db67a92d4d1f2.108500884152813792 ETH
21344138refunds.builder-net.eth0x2d3987d9b8b53c537f3a48682f290569c882c8b153461bc86b4c0e356c2a16473.269291345062328327 ETH
21344277refunds.builder-net.eth0x12d04446ae61c163a93be8f72bb6eef1e9d32300be910b77e44ffc5042e6795b3.908553669971872502 ETH
21344404refunds.builder-net.eth0xd34f5bf20c8c1241dfb1742790cbdac5f225ec3020b9b1cf14547270124f88704.052767036727942219 ETH
21344478refunds.builder-net.eth0x12aa57f3d6af07a2d8c9b955bee005e01fb01c9fbe5289033be8f123d813e91c3.578979455136824046 ETH
21344619refunds.builder-net.eth0x4cda506e68953cc910f26ee3efc9dd80ffc23de88a73e683ee205a4d3739d4374.533066438882678332 ETH
21344721refunds.builder-net.eth0x3aece3961dbde84c7b85e614b86c02a167dba38302ee162ae6b8b69f3d212e143.298525459318788492 ETH
21344792refunds.builder-net.eth0xd7f8627b4cb31cacbfc50bf6bcd363eb361b502cd97c29211821bddeafa622b33.452203099698264021 ETH
21344900refunds.builder-net.eth0xe841981605a692ccda4cccca998f3d1b8eaedcd558e2f00d39b765eebd5691641.311615118177697383 ETH