eth_getBundleStats
Get bundle stats from flashbots rely via this api
You can get bundle stat from flashbots relay through this api and one parameter is all you need.
Supported on Ethereum, Goerli.

Parameters

Object - An object with the following fields (required):
  • bundleHash(hex string, required) - the hash value of the bundle.
  • blockNumber(integer number, optional) - the blockNumber that the bundle could be included. pass 0 than it would be set to latest future block.

Returns

Object - An object with the following fields:
  • id(integer number) - json-rpc id.
  • jsonrpc(string) - json-rpc version.
  • result(object) - an object with the following fields:
    • isSimulated(boolean) - indicating whether the bundle has been simulated.
    • isSendToMiners(boolean) - indicating whether the bundle has been sent to the miners.
    • isHighPriority(boolean) - indicating whether the bundle has high priority in relay process.
    • simulatedAt(time string) - the time when the bundle had been simulated.
    • submittedAt(time string) - the time when the bundle had been submitted to flahbots relay.
    • sendToMinersAt(time string) - the time when the bundle had been sent to the miner.

Example

Request

curl --location --request POST 'https://apis.blockvision.org/v1/<api key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"jsonrpc": "2.0",
"method": "eth_getBundleStat",
"params": {
"bundleHash": "0x161a90b226ba43b0e283d9fda02e801a3685fd4f550f55226016e5c4a8ab3428",
"blockNumber": 7626710
},
"id": 1
}'

Result

{
"jsonrpc": "2.0",
"id": 1,
"result": {
"isSimulated": true,
"isSentToMiners": false,
"isHighPriority": false,
"simulatedAt": "2022-09-20T09:51:52.436Z",
"submittedAt": "2022-09-20T09:51:52.43Z",
"sentToMinersAt": "0001-01-01T00:00:00Z"
}
}
Copy link
Outline
Parameters
Returns
Example
Request
Result