You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/flashbots-auction/advanced/rpc-endpoint.mdx
+70Lines changed: 70 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -768,6 +768,76 @@ where
768
768
-`consideredByBuildersAt`: indicates time at which each builder selected the bundle to be included in the target block
769
769
-`sealedByBuildersAt`: indicates time at which each builder sealed a block containing the bundle
770
770
771
+
### flashbots_getSbundleStats
772
+
773
+
The `flashbots_getSbundleStats` JSON-RPC method returns stats for a single [sbundle](/flashbots-mev-share/searchers/understanding-bundles). You must provide `bundleHash`, and the signing address must be the same as the one who submitted the bundle.
774
+
Only bundles that do not contain user's private transactions are supported (so no backrun bundles)
775
+
776
+
```json
777
+
{
778
+
"jsonrpc": "2.0",
779
+
"id": 1,
780
+
"method": "flashbots_getSbundleStats",
781
+
"params": [
782
+
{
783
+
bundleHash, // String, returned by the flashbots api when calling eth_sendBundle with builders field or mev_sendBundle
784
+
}
785
+
]
786
+
}
787
+
```
788
+
789
+
example response when bundle relay has simulated the bundle and the target block has been reached:
Only responds with success when sbundle is already simulated.
821
+
822
+
When bundle-relay has simulated the bundle but the target block (or maxBlock) has not been reached:
823
+
824
+
```json
825
+
{
826
+
"isSimulated": true,
827
+
"isHighPriority": true,
828
+
"simulatedAt": "2022-10-06T21:36:06.317Z",
829
+
"receivedAt": "2022-10-06T21:36:06.250Z"
830
+
}
831
+
```
832
+
833
+
where
834
+
835
+
-`isSimulated`: boolean representing whether the bundle gets simulated. All other fields will be omitted except simulated field if API didn't receive bundle
836
+
-`simulatedAt`: time at which the bundle gets simulated
837
+
-`receivedAt`: time at which the bundle API received the bundle
838
+
-`consideredByBuildersAt`: indicates time at which each builder selected the bundle to be included in the target block
839
+
-`sealedByBuildersAt`: indicates time at which each builder sealed a block containing the bundle
840
+
771
841
### API Response
772
842
773
843
- All method supports JSON-RPC standards for success response and not supported for error response(V2 methods are exceptions).
0 commit comments