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
- stateobject
(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
- returnDatastring
Return data from the call 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
- gasUsedstring
Amount of gas used in hexadecimal
- statusstring
Status code of the call in hexadecimal
- errorobject
(Optional) An object array containing error information
- messagestring
An error message
- codeinteger
An error status code
- datastring
A data field containing error related information
- 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
- 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
- withdrawalsRootstring
Withdrawals trie root in hexadecimal
- unclesarray
Array of uncle block hashes
- withdrawalsarray
Array of withdrawal objects
1{2"jsonrpc": "2.0",3"id": 1,4"result": [5{6"hash": "0xbf7cf798051c57c5a9bf25a889db6b2c8c2d298e8ec0b89fa0c78e5d3cf0d29e",7"parentHash": "0xc5b63625a0ffac7c4553eccccbacc4d7672ea3f191603ba894e8d9606dbd68ff",8"sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",9"miner": "0x30dd0fb2d8376b398b81b21e08f62c7cc9dea4d8",10"stateRoot": "0x0000000000000000000000000000000000000000000000000000000000000000",11"transactionsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",12"receiptsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",13"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",14"difficulty": "0x0",15"number": "0x100001",16"gasLimit": "0x3b9aca00",17"gasUsed": "0x0",18"timestamp": "0x6a0fdd10",19"extraData": "0x726574682f76312e382e332f6c696e7578",20"mixHash": "0xf2997d37ebdeac535275a40c695753b34a02f68afd6d639befcac0ea4f217042",21"nonce": "0x0000000000000000",22"baseFeePerGas": "0x0",23"withdrawalsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",24"blobGasUsed": "0x0",25"excessBlobGas": "0x0",26"parentBeaconBlockRoot": "0x0000000000000000000000000000000000000000000000000000000000000000",27"size": "0x257",28"uncles": [],29"transactions": [],30"withdrawals": [],31"calls": []32}33]34}
1{2"jsonrpc": "2.0",3"id": 1,4"result": [5{6"hash": "0xbf7cf798051c57c5a9bf25a889db6b2c8c2d298e8ec0b89fa0c78e5d3cf0d29e",7"parentHash": "0xc5b63625a0ffac7c4553eccccbacc4d7672ea3f191603ba894e8d9606dbd68ff",8"sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",9"miner": "0x30dd0fb2d8376b398b81b21e08f62c7cc9dea4d8",10"stateRoot": "0x0000000000000000000000000000000000000000000000000000000000000000",11"transactionsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",12"receiptsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",13"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",14"difficulty": "0x0",15"number": "0x100001",16"gasLimit": "0x3b9aca00",17"gasUsed": "0x0",18"timestamp": "0x6a0fdd10",19"extraData": "0x726574682f76312e382e332f6c696e7578",20"mixHash": "0xf2997d37ebdeac535275a40c695753b34a02f68afd6d639befcac0ea4f217042",21"nonce": "0x0000000000000000",22"baseFeePerGas": "0x0",23"withdrawalsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",24"blobGasUsed": "0x0",25"excessBlobGas": "0x0",26"parentBeaconBlockRoot": "0x0000000000000000000000000000000000000000000000000000000000000000",27"size": "0x257",28"uncles": [],29"transactions": [],30"withdrawals": [],31"calls": []32}33]34}