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
- requestsHashstring
Requests hash 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
- unclesarray
Array of uncle block hashes
- withdrawalsarray
Array of withdrawal objects
- withdrawalsRootstring
Withdrawals trie root in hexadecimal
1{2"jsonrpc": "2.0",3"id": 1,4"result": [5{6"baseFeePerGas": "0x7",7"blobGasUsed": "0x0",8"calls": [],9"difficulty": "0x0",10"excessBlobGas": "0x0",11"extraData": "0x",12"gasLimit": "0x77359400",13"gasUsed": "0x0",14"hash": "0x4a96ef11a3b1604faa8371b6bcda303897c8a6efd8d3fb91363ff69797775faa",15"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",16"miner": "0x8f81e2e3f8b46467523463835f965ffe476e1c9e",17"mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",18"nonce": "0x0000000000000000",19"number": "0x1ca68f4",20"parentBeaconBlockRoot": "0x0000000000000000000000000000000000000000000000000000000000000000",21"parentHash": "0xf862c2bad0bb5524e68000b8e8279defe3590d597185b9f70358b4458245ced7",22"receiptsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",23"requestsHash": "0xe3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",24"sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",25"size": "0x268",26"stateRoot": "0x3389f36745ba247cbd6675c9174f1098e7ad69287af5ea36d1827aac553f3527",27"timestamp": "0x69cff5bd",28"transactions": [],29"transactionsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",30"uncles": [],31"withdrawals": [],32"withdrawalsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"33}34]35}
1{2"jsonrpc": "2.0",3"id": 1,4"result": [5{6"baseFeePerGas": "0x7",7"blobGasUsed": "0x0",8"calls": [],9"difficulty": "0x0",10"excessBlobGas": "0x0",11"extraData": "0x",12"gasLimit": "0x77359400",13"gasUsed": "0x0",14"hash": "0x4a96ef11a3b1604faa8371b6bcda303897c8a6efd8d3fb91363ff69797775faa",15"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",16"miner": "0x8f81e2e3f8b46467523463835f965ffe476e1c9e",17"mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",18"nonce": "0x0000000000000000",19"number": "0x1ca68f4",20"parentBeaconBlockRoot": "0x0000000000000000000000000000000000000000000000000000000000000000",21"parentHash": "0xf862c2bad0bb5524e68000b8e8279defe3590d597185b9f70358b4458245ced7",22"receiptsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",23"requestsHash": "0xe3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",24"sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",25"size": "0x268",26"stateRoot": "0x3389f36745ba247cbd6675c9174f1098e7ad69287af5ea36d1827aac553f3527",27"timestamp": "0x69cff5bd",28"transactions": [],29"transactionsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",30"uncles": [],31"withdrawals": [],32"withdrawalsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"33}34]35}