Parameters
- objectobjectREQUIRED
The simulation request object
- blockStateCallsarray
Array of block state call objects
- blockOverridesobject
(Optional) An object to override block-level parameters
- baseFeePerGasstring
The base fee per gas for the block, encoded as hexadecimal
- stateOverridesobject
(Optional) An object to override account states
- addressobject
The address of the account to override
- balancestring
(Optional) The balance to set for the account, encoded as hexadecimal
- noncestring
(Optional) The nonce to set for the account, encoded as hexadecimal
- codestring
(Optional) The bytecode to set for the account, encoded as hexadecimal
- statestring
(Optional) A key-value mapping to override all slots in the account storage
- stateDiffobject
(Optional) A key-value mapping to override individual slots in the account storage
- callsarray
Array of transaction call objects
- fromstring
The address from which the transaction is sent
- tostring
The address to which the transaction is directed
- maxFeePerGasstring
(Optional) The maximum fee per gas the sender is willing to pay
- valuestring
(Optional) The value sent with the transaction, encoded as hexadecimal
- datastring
(Optional) The data payload of the transaction, encoded as hexadecimal
- validationboolean
(Optional) A boolean indicating whether to perform validation checks
- traceTransfersboolean
(Optional) A boolean indicating whether to trace value transfers
- blockParameterstring
The block number, hash, or tag (earliest, finalized, latest, pending, safe)
Returns
- resultarray
Array of simulation results
- baseFeePerGasstring
Base fee per gas in hexadecimal
- blobGasUsedstring
Amount of blob gas used in hexadecimal
- callsarray
Array of call results
- errorobject
(Optional) An object array containing error information
- codeinteger
An error status code
- datastring
A data field containing error related information
- messagestring
An error message
- gasUsedstring
Amount of gas used in hexadecimal
- logsarray
Array of logs generated during the call
- addressstring
Address of the contract that generated the log
- topicsarray
Array of indexed log parameters
- datastring
Contains non-indexed log parameters
- blockNumberstring
Block number in hexadecimal
- transactionHashstring
Hash of the transaction
- transactionIndexstring
Index of the transaction in the block
- blockHashstring
Hash of the block
- logIndexstring
Index of the log in the block
- removedboolean
Whether the log was removed due to chain reorganization
- maxUsedGasstring
The maximum gas consumed while processing the simulated call, encoded as hexadecimal
- returnDatastring
Return data from the call in hexadecimal
- statusstring
Status code of the call in hexadecimal
- difficultystring
Block difficulty in hexadecimal
- excessBlobGasstring
Excess blob gas in hexadecimal
- extraDatastring
Extra data field in hexadecimal
- gasLimitstring
Gas limit in hexadecimal
- gasUsedstring
Gas used in hexadecimal
- hashstring
Block hash
- logsBloomstring
Logs bloom filter in hexadecimal
- minerstring
Miner/validator address
- mixHashstring
Mix hash in hexadecimal
- noncestring
Nonce in hexadecimal
- numberstring
Block number in hexadecimal
- parentBeaconBlockRootstring
Parent beacon block root in hexadecimal
- parentHashstring
Parent block hash
- receiptsRootstring
Receipts trie root in hexadecimal
- requestsHashstring
The hash of the execution requests for this block.
- sha3Unclesstring
Uncle blocks hash in hexadecimal
- sizestring
Block size in hexadecimal
- stateRootstring
State trie root in hexadecimal
- timestampstring
Block timestamp in hexadecimal
- transactionsarray
Array of transaction hashes
- transactionsRootstring
Transactions trie root in hexadecimal
- unclesarray
Array of uncle block hashes
- withdrawalsarray
Array of withdrawal objects
- withdrawalsRootstring
Withdrawals trie root in hexadecimal
1{2"jsonrpc": "2.0",3"result": [4{5"baseFeePerGas": "0x5f5e100",6"blobGasUsed": "0x9c40",7"calls": [8{9"error": {10"code": 3,11"data": "0x",12"message": "execution reverted"13},14"gasUsed": "0x5233",15"logs": [],16"maxUsedGas": "0x5233",17"returnData": "0x",18"status": "0x0"19}20],21"difficulty": "0x0",22"excessBlobGas": "0x0",23"extraData": "0x01000000fa000000060000000000000000",24"gasLimit": "0x3938700",25"gasUsed": "0x5233",26"hash": "0x4f7161a55c9addefd52fa8b14eeddb0e31146193feac6c95f80fb8b7bad083d7",27"logsBloom": "0x00000000000000000000080000000000001000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000040000000000000000000000000000000000000000000000020000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000002000001000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000100000000000000000000",28"miner": "0x4200000000000000000000000000000000000011",29"mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",30"nonce": "0x0000000000000000",31"number": "0x2052f39",32"parentBeaconBlockRoot": "0x736aea73ed1c11495003e708bf9c943fee84732d241cf7cc6458fb9ccd1baf4c",33"parentHash": "0x508236d7cb2d80307c04c747495f88a405d9cf258f50ea5b5151d1c8f9f5f4db",34"receiptsRoot": "0x619d343dce36c3c936ca930f3ba82e334507ca857025e6dae388b20d5e0e4bcf",35"requestsHash": "0xe3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",36"sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",37"size": "0x2b2",38"stateRoot": "0x0000000000000000000000000000000000000000000000000000000000000000",39"timestamp": "0x6a871ba0",40"transactions": [41"0x3bee3110988d364e657ad61c5126debdba8d7aa6dc98ff481e198a4fdc639b01"42],43"transactionsRoot": "0xcc1160e7938c5480d3d96d34e3f605b404c591b63acd58823bbc6d5203aeea89",44"uncles": [],45"withdrawals": [],46"withdrawalsRoot": "0x0000000000000000000000000000000000000000000000000000000000000000"47}48],49"id": 150}
1{2"jsonrpc": "2.0",3"result": [4{5"baseFeePerGas": "0x5f5e100",6"blobGasUsed": "0x9c40",7"calls": [8{9"error": {10"code": 3,11"data": "0x",12"message": "execution reverted"13},14"gasUsed": "0x5233",15"logs": [],16"maxUsedGas": "0x5233",17"returnData": "0x",18"status": "0x0"19}20],21"difficulty": "0x0",22"excessBlobGas": "0x0",23"extraData": "0x01000000fa000000060000000000000000",24"gasLimit": "0x3938700",25"gasUsed": "0x5233",26"hash": "0x4f7161a55c9addefd52fa8b14eeddb0e31146193feac6c95f80fb8b7bad083d7",27"logsBloom": "0x00000000000000000000080000000000001000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000040000000000000000000000000000000000000000000000020000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000002000001000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000100000000000000000000",28"miner": "0x4200000000000000000000000000000000000011",29"mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",30"nonce": "0x0000000000000000",31"number": "0x2052f39",32"parentBeaconBlockRoot": "0x736aea73ed1c11495003e708bf9c943fee84732d241cf7cc6458fb9ccd1baf4c",33"parentHash": "0x508236d7cb2d80307c04c747495f88a405d9cf258f50ea5b5151d1c8f9f5f4db",34"receiptsRoot": "0x619d343dce36c3c936ca930f3ba82e334507ca857025e6dae388b20d5e0e4bcf",35"requestsHash": "0xe3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",36"sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",37"size": "0x2b2",38"stateRoot": "0x0000000000000000000000000000000000000000000000000000000000000000",39"timestamp": "0x6a871ba0",40"transactions": [41"0x3bee3110988d364e657ad61c5126debdba8d7aa6dc98ff481e198a4fdc639b01"42],43"transactionsRoot": "0xcc1160e7938c5480d3d96d34e3f605b404c591b63acd58823bbc6d5203aeea89",44"uncles": [],45"withdrawals": [],46"withdrawalsRoot": "0x0000000000000000000000000000000000000000000000000000000000000000"47}48],49"id": 150}