eth_callBundle

Simulates a bundle of signed transactions against a specific block number, including simulating a bundle at the top of the next block. This method allows you to test transaction bundles before submitting them to the network.

Path parameters

apiKeystringRequiredDefaults to docs-demo

Request

This endpoint expects an object.
Bundle parametersobjectRequired
The bundle simulation parameters containing the transactions to simulate and the block context for the simulation.

Response

The result of the bundle simulation containing gas usage, fees, and individual transaction results.
bundleGasPricestringformat: "^0x([1-9a-f]+[0-9a-f]*|0)$"
The gas price used for the bundle simulation.
bundleHashstringformat: "^0x[0-9a-f]{64}$"
The hash of the bundle.
coinbaseDiffstringformat: "^0x([1-9a-f]+[0-9a-f]*|0)$"
The total difference in coinbase payments.
ethSentToCoinbasestringformat: "^0x([1-9a-f]+[0-9a-f]*|0)$"
The total ETH sent to the coinbase.
gasFeesstringformat: "^0x([1-9a-f]+[0-9a-f]*|0)$"
The total gas fees for the bundle.
resultslist of objects
Array of individual transaction results within the bundle.
stateBlockNumberinteger>=0
The block number used for state simulation.
totalGasUsedinteger>=0
The total gas used by all transactions in the bundle.