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
- maxUsedGasstring
Maximum gas used by the call 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. Present only when the simulated block includes blob gas accounting.
- extraDatastring
Extra data field in hexadecimal
- gasLimitstring
Gas limit in hexadecimal
- gasUsedstring
Gas used in hexadecimal
- hashstring
Block hash
- l1BlockNumberstring
L1 block number in hexadecimal
- 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
- sendCountstring
Send count in hexadecimal
- sendRootstring
Send 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
Withdrawal objects included in the simulated block, or an empty array
- withdrawalsRootstring
Merkle root of the withdrawals in the simulated block
1{2"jsonrpc": "2.0",3"id": 1,4"result": [5{6"baseFeePerGas": "0x0",7"blobGasUsed": "0x0",8"calls": [9{10"returnData": "0x",11"logs": [],12"gasUsed": "0x5dc0",13"maxUsedGas": "0x5dc0",14"status": "0x1"15}16],17"difficulty": "0x1",18"extraData": "0x99de393831bb475894fc9f1799e46264b646f9982d1ba4aa73990c8f96047c24",19"gasLimit": "0x4000000000000",20"gasUsed": "0x5dc0",21"hash": "0x6de65e0193586b9c86bc2094830f90925f1024993edfa07749dddefa3e1d4ef4",22"l1BlockNumber": "0x3038646",23"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",24"miner": "0xa4b000000000000000000073657175656e636572",25"mixHash": "0x00000000000006c40000000003038646000000000000003d0001000000000000",26"nonce": "0x0000000000000000",27"number": "0x182044",28"parentBeaconBlockRoot": "0x0000000000000000000000000000000000000000000000000000000000000000",29"parentHash": "0xfe9f31fc943589f2a05e9030a6808c423cc9a0fe18d5eeccd4f8ec049a95bf0f",30"receiptsRoot": "0x7e5753ee928603a2ab2cc80724ab6974be31e23f9898f953af19deb65de34fa7",31"sendCount": "0x6c4",32"sendRoot": "0x99de393831bb475894fc9f1799e46264b646f9982d1ba4aa73990c8f96047c24",33"sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",34"size": "0x295",35"stateRoot": "0xaa8a99f0f2cee744d35c5c54e80ae39a2e7d6fa2f24b29cc8ec9ec27841cb2d6",36"timestamp": "0x6aee1f88",37"transactions": [38"0xc73d5d399a151fb88348ab65d05eb99beb068426479b20d74f6df39ba93c8725"39],40"transactionsRoot": "0xf05c85eb8ed0a67c51ea293232d97ff6bbf684b10765ede2bc2eea1725249ffa",41"uncles": [],42"withdrawals": [],43"withdrawalsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"44}45]46}
1{2"jsonrpc": "2.0",3"id": 1,4"result": [5{6"baseFeePerGas": "0x0",7"blobGasUsed": "0x0",8"calls": [9{10"returnData": "0x",11"logs": [],12"gasUsed": "0x5dc0",13"maxUsedGas": "0x5dc0",14"status": "0x1"15}16],17"difficulty": "0x1",18"extraData": "0x99de393831bb475894fc9f1799e46264b646f9982d1ba4aa73990c8f96047c24",19"gasLimit": "0x4000000000000",20"gasUsed": "0x5dc0",21"hash": "0x6de65e0193586b9c86bc2094830f90925f1024993edfa07749dddefa3e1d4ef4",22"l1BlockNumber": "0x3038646",23"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",24"miner": "0xa4b000000000000000000073657175656e636572",25"mixHash": "0x00000000000006c40000000003038646000000000000003d0001000000000000",26"nonce": "0x0000000000000000",27"number": "0x182044",28"parentBeaconBlockRoot": "0x0000000000000000000000000000000000000000000000000000000000000000",29"parentHash": "0xfe9f31fc943589f2a05e9030a6808c423cc9a0fe18d5eeccd4f8ec049a95bf0f",30"receiptsRoot": "0x7e5753ee928603a2ab2cc80724ab6974be31e23f9898f953af19deb65de34fa7",31"sendCount": "0x6c4",32"sendRoot": "0x99de393831bb475894fc9f1799e46264b646f9982d1ba4aa73990c8f96047c24",33"sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",34"size": "0x295",35"stateRoot": "0xaa8a99f0f2cee744d35c5c54e80ae39a2e7d6fa2f24b29cc8ec9ec27841cb2d6",36"timestamp": "0x6aee1f88",37"transactions": [38"0xc73d5d399a151fb88348ab65d05eb99beb068426479b20d74f6df39ba93c8725"39],40"transactionsRoot": "0xf05c85eb8ed0a67c51ea293232d97ff6bbf684b10765ede2bc2eea1725249ffa",41"uncles": [],42"withdrawals": [],43"withdrawalsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"44}45]46}