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
- 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
- blockTimestampstring
Timestamp of the containing block, encoded as hexadecimal.
- gasUsedstring
Amount of gas used in hexadecimal
- statusstring
Status code of the call in hexadecimal
- errorobject
(Conditional) Error message when execution fails.
- 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
- unclesarray
Array of uncle block hashes
- withdrawalsarray
Array of withdrawal objects
- withdrawalsRootstring
Withdrawals trie root in hexadecimal
- requestsHashstring
The hash of the requests in the simulated block. Present after the Pectra upgrade
1{2"jsonrpc": "2.0",3"id": 1,4"result": [5{6"hash": "0xcf8550ded816c6a8e7cbe2e3451d885edfdfabb16a25d6c1e41c6727df0cdedc",7"parentHash": "0xb02977f169dd1e283389180c64089415a5b36cee4bea14773a9fe6efb19847f5",8"sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",9"miner": "0x6779ba5b37fadfd2dc0da0c48c57b756eac4d1ed",10"stateRoot": "0x0000000000000000000000000000000000000000000000000000000000000000",11"transactionsRoot": "0x50d11a2d5d0b5d9d6b42effc8794bd00cfb9e87ae317525a50b08cf3504ca39c",12"receiptsRoot": "0x3d6f91953c697868dc8835b72360741988797b4fc2ab9465431756b798e7cbf2",13"logsBloom": "0x00000000000000000000000000000000001000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000008000000000000000000040000000000000000000000000000000000000000000000000000000000000000000000000011000000000000004000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000002000000000000000000000000000000000000010000000000000000000000000000800000000000000000000000000000000000000000000000000000",14"difficulty": "0x0",15"number": "0x1ecbd9b",16"gasLimit": "0x2faf080",17"gasUsed": "0x5208",18"timestamp": "0x6adf5ebd",19"extraData": "0x726574682f76322e322e302f6c696e7578",20"mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",21"nonce": "0x0000000000000000",22"baseFeePerGas": "0x9",23"withdrawalsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",24"blobGasUsed": "0x0",25"excessBlobGas": "0x0",26"parentBeaconBlockRoot": "0x0101010101010101010101010101010101010101010101010101010101010101",27"requestsHash": "0xe3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",28"size": "0x2a4",29"uncles": [],30"transactions": [31"0xf08f12bb27b3d174987c0d23e84d72840787aced5d0547db311cc833dfcfc0f0"32],33"withdrawals": [],34"calls": [35{36"returnData": "0x",37"logs": [38{39"address": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",40"topics": [41"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",42"0x000000000000000000000000d8da6bf26964af9d7eed9e03e53415d37aa96045",43"0x000000000000000000000000014d023e954baae7f21e56ed8a5d81b12902684d"44],45"data": "0x0000000000000000000000000000000000000000000000000000000000000001",46"blockHash": "0xcf8550ded816c6a8e7cbe2e3451d885edfdfabb16a25d6c1e41c6727df0cdedc",47"blockNumber": "0x1ecbd9b",48"blockTimestamp": "0x6adf5ebd",49"transactionHash": "0xf08f12bb27b3d174987c0d23e84d72840787aced5d0547db311cc833dfcfc0f0",50"transactionIndex": "0x0",51"logIndex": "0x0",52"removed": false53}54],55"gasUsed": "0x5208",56"status": "0x1"57}58]59}60]61}
1{2"jsonrpc": "2.0",3"id": 1,4"result": [5{6"hash": "0xcf8550ded816c6a8e7cbe2e3451d885edfdfabb16a25d6c1e41c6727df0cdedc",7"parentHash": "0xb02977f169dd1e283389180c64089415a5b36cee4bea14773a9fe6efb19847f5",8"sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",9"miner": "0x6779ba5b37fadfd2dc0da0c48c57b756eac4d1ed",10"stateRoot": "0x0000000000000000000000000000000000000000000000000000000000000000",11"transactionsRoot": "0x50d11a2d5d0b5d9d6b42effc8794bd00cfb9e87ae317525a50b08cf3504ca39c",12"receiptsRoot": "0x3d6f91953c697868dc8835b72360741988797b4fc2ab9465431756b798e7cbf2",13"logsBloom": "0x00000000000000000000000000000000001000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000008000000000000000000040000000000000000000000000000000000000000000000000000000000000000000000000011000000000000004000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000002000000000000000000000000000000000000010000000000000000000000000000800000000000000000000000000000000000000000000000000000",14"difficulty": "0x0",15"number": "0x1ecbd9b",16"gasLimit": "0x2faf080",17"gasUsed": "0x5208",18"timestamp": "0x6adf5ebd",19"extraData": "0x726574682f76322e322e302f6c696e7578",20"mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",21"nonce": "0x0000000000000000",22"baseFeePerGas": "0x9",23"withdrawalsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",24"blobGasUsed": "0x0",25"excessBlobGas": "0x0",26"parentBeaconBlockRoot": "0x0101010101010101010101010101010101010101010101010101010101010101",27"requestsHash": "0xe3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",28"size": "0x2a4",29"uncles": [],30"transactions": [31"0xf08f12bb27b3d174987c0d23e84d72840787aced5d0547db311cc833dfcfc0f0"32],33"withdrawals": [],34"calls": [35{36"returnData": "0x",37"logs": [38{39"address": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",40"topics": [41"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",42"0x000000000000000000000000d8da6bf26964af9d7eed9e03e53415d37aa96045",43"0x000000000000000000000000014d023e954baae7f21e56ed8a5d81b12902684d"44],45"data": "0x0000000000000000000000000000000000000000000000000000000000000001",46"blockHash": "0xcf8550ded816c6a8e7cbe2e3451d885edfdfabb16a25d6c1e41c6727df0cdedc",47"blockNumber": "0x1ecbd9b",48"blockTimestamp": "0x6adf5ebd",49"transactionHash": "0xf08f12bb27b3d174987c0d23e84d72840787aced5d0547db311cc833dfcfc0f0",50"transactionIndex": "0x0",51"logIndex": "0x0",52"removed": false53}54],55"gasUsed": "0x5208",56"status": "0x1"57}58]59}60]61}