Skip to content

Commit fb5c33a

Browse files
committed
mempool related fields explained
1 parent 18fabdd commit fb5c33a

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

docs/flashbots-protect/mev-share.mdx

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,36 @@ https://rpc.flashbots.net?builder=ABC&builder=XYZ
9898

9999
This configuration sends your transaction to ABC block builder, XYZ block builder, and Flashbots block builder.
100100

101+
### Mempool Configuration
102+
103+
You can configure our RPC endpoint to allow your transaction to fall back to the public mempool under specific conditions. This feature is useful for users who prioritize transaction inclusion, even if it means potentially sacrificing some MEV protection.
104+
105+
Your transaction will fall back to the mempool if:
106+
107+
1. The current block is not `mev-boost` enabled, or
108+
2. Your transaction is not included within a 25-block range
109+
110+
To enable this feature, add the `useMempool` parameter to your Protect RPC URL:
111+
112+
```url
113+
https://rpc.flashbots.net?useMempool=true
114+
```
115+
116+
For analytics or other purposes, you can specify a custom mempool URL by adding the `mempoolRpc` parameter:
117+
118+
```url
119+
https://rpc.flashbots.net?useMempool=true&mempoolRpc=https://your-custom-node-url
120+
```
121+
122+
### Allowing Reverted Transactions
123+
By default, Protect excludes transactions that would revert. If you want to include potentially reverting transactions, add the `canRevert` parameter to your Protect RPC URL:
124+
125+
```url
126+
https://rpc.flashbots.net?canRevert=true
127+
```
128+
129+
This option may be useful for specific use cases where transaction execution is not guaranteed or where you want to ensure submission regardless of the outcome.
130+
101131
### Refunds
102132

103133
You can tailor your refund settings using the refund parameter. This determines the distribution of the searcher's payment among different addresses for bundled transactions. If not specified, the transaction originator (tx.origin) will by default receive 90% of the searcher's payment.

0 commit comments

Comments
 (0)