Call Bundle
This API is used to receive requests for simulating bundles. The method name is eth_callBundle
.
Request Example
{
"jsonrpc": "2.0",
"id": "1",
"method": "eth_callBundle",
"params": [
{
"txs":["0x…1b"], // List of signed raw transactions
"blockNumber":12345, // Current block number + 1
}
]
}
Response Example
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"bundleHash": "0x1234",
"ethSentToBuilder": "1234",
"gasFees": "1234",
"results": [
{
"ethSentToBuilder": "1234",
"fromAddress": "0x1234",
"gasFees": "1234",
"gasPrice": "1234",
"gasUsed": 1234,
"toAddress": "0x1234",
"txHash": "0x1234",
"value": "0x"
}
],
"stateBlockNumber": 1234,
"totalGasUsed": 1234
}
}
Last updated