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
- gasUsedstring
Amount of gas used in hexadecimal
- statusstring
Status code of the call in hexadecimal
- errorobject
(Optional) An object 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
- 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"baseFeePerGas": "0x9",7"blobGasUsed": "0x9c40",8"calls": [9{10"gasUsed": "0x5208",11"logs": [12{13"address": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",14"blockHash": "0x59eb8cc4f9623e29435684573c48e19b9df9b037619aeae7b14e228287d52123",15"blockNumber": "0x1b15f5d",16"blockTimestamp": "0x69ce8d83",17"data": "0x0000000000000000000000000000000000000000000000000000000000000001",18"logIndex": "0x0",19"removed": false,20"topics": [21"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",22"0x000000000000000000000000d8da6bf26964af9d7eed9e03e53415d37aa96045",23"0x000000000000000000000000014d023e954baae7f21e56ed8a5d81b12902684d"24],25"transactionHash": "0x52ba1c9b25de7b49f98403cd84f1e7e23e89ccfa8c2c718985862e4041ba4d4a",26"transactionIndex": "0x0"27}28],29"returnData": "0x",30"status": "0x1"31}32],33"difficulty": "0x0",34"excessBlobGas": "0x0",35"extraData": "0x",36"gasLimit": "0x7270e00",37"gasUsed": "0x5208",38"hash": "0x59eb8cc4f9623e29435684573c48e19b9df9b037619aeae7b14e228287d52123",39"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",40"miner": "0x4200000000000000000000000000000000000011",41"mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",42"nonce": "0x0000000000000000",43"number": "0x1b15f5d",44"parentBeaconBlockRoot": "0x0000000000000000000000000000000000000000000000000000000000000000",45"parentHash": "0xf27f4a8fb47ac90c3ac277f42e99d2ea6ec83673d9dfdb1ca80c049aec3dbe40",46"receiptsRoot": "0xf78dfb743fbd92ade140711c8bbc542b5e307f0ab7984eff35d751969fe57efa",47"requestsHash": "0xe3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",48"sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",49"size": "0x296",50"stateRoot": "0xdecc753a3b7b9a4c463da580bb8195e86bd69e1a67a5d4cb0ec2816f2e420923",51"timestamp": "0x69ce8d83",52"transactions": [53"0x52ba1c9b25de7b49f98403cd84f1e7e23e89ccfa8c2c718985862e4041ba4d4a"54],55"transactionsRoot": "0xeeabc7da0e37c10852533300f49904e1a94c15af35cb2e23bf3eca9c089773e8",56"uncles": [],57"withdrawals": [],58"withdrawalsRoot": "0x83944f9f7ddaa78404316112fccdb616a8bc773b90ad4728b8bc33c584969897"59}60]61}
1{2"jsonrpc": "2.0",3"id": 1,4"result": [5{6"baseFeePerGas": "0x9",7"blobGasUsed": "0x9c40",8"calls": [9{10"gasUsed": "0x5208",11"logs": [12{13"address": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",14"blockHash": "0x59eb8cc4f9623e29435684573c48e19b9df9b037619aeae7b14e228287d52123",15"blockNumber": "0x1b15f5d",16"blockTimestamp": "0x69ce8d83",17"data": "0x0000000000000000000000000000000000000000000000000000000000000001",18"logIndex": "0x0",19"removed": false,20"topics": [21"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",22"0x000000000000000000000000d8da6bf26964af9d7eed9e03e53415d37aa96045",23"0x000000000000000000000000014d023e954baae7f21e56ed8a5d81b12902684d"24],25"transactionHash": "0x52ba1c9b25de7b49f98403cd84f1e7e23e89ccfa8c2c718985862e4041ba4d4a",26"transactionIndex": "0x0"27}28],29"returnData": "0x",30"status": "0x1"31}32],33"difficulty": "0x0",34"excessBlobGas": "0x0",35"extraData": "0x",36"gasLimit": "0x7270e00",37"gasUsed": "0x5208",38"hash": "0x59eb8cc4f9623e29435684573c48e19b9df9b037619aeae7b14e228287d52123",39"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",40"miner": "0x4200000000000000000000000000000000000011",41"mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",42"nonce": "0x0000000000000000",43"number": "0x1b15f5d",44"parentBeaconBlockRoot": "0x0000000000000000000000000000000000000000000000000000000000000000",45"parentHash": "0xf27f4a8fb47ac90c3ac277f42e99d2ea6ec83673d9dfdb1ca80c049aec3dbe40",46"receiptsRoot": "0xf78dfb743fbd92ade140711c8bbc542b5e307f0ab7984eff35d751969fe57efa",47"requestsHash": "0xe3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",48"sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",49"size": "0x296",50"stateRoot": "0xdecc753a3b7b9a4c463da580bb8195e86bd69e1a67a5d4cb0ec2816f2e420923",51"timestamp": "0x69ce8d83",52"transactions": [53"0x52ba1c9b25de7b49f98403cd84f1e7e23e89ccfa8c2c718985862e4041ba4d4a"54],55"transactionsRoot": "0xeeabc7da0e37c10852533300f49904e1a94c15af35cb2e23bf3eca9c089773e8",56"uncles": [],57"withdrawals": [],58"withdrawalsRoot": "0x83944f9f7ddaa78404316112fccdb616a8bc773b90ad4728b8bc33c584969897"59}60]61}