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
- hashstring
Block hash
- parentHashstring
Parent block hash
- sha3Unclesstring
Uncle blocks hash in hexadecimal
- minerstring
Miner/validator address
- stateRootstring
State trie root in hexadecimal
- transactionsRootstring
Transactions trie root in hexadecimal
- receiptsRootstring
Receipts trie root in hexadecimal
- logsBloomstring
Logs bloom filter in hexadecimal
- difficultystring
Block difficulty in hexadecimal
- numberstring
Block number in hexadecimal
- gasLimitstring
Gas limit in hexadecimal
- gasUsedstring
Gas used in hexadecimal
- timestampstring
Block timestamp in hexadecimal
- extraDatastring
Extra data field in hexadecimal
- mixHashstring
Mix hash in hexadecimal
- noncestring
Nonce in hexadecimal
- baseFeePerGasstring
Base fee per gas in hexadecimal
- withdrawalsRootstring
Withdrawals trie root in hexadecimal
- sizestring
Block size in hexadecimal
- unclesarray
Array of uncle block hashes
- transactionsarray
Array of transaction hashes
- withdrawalsarray
Array of withdrawal objects
- 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
- blockHashstring
Hash of the block containing the log (may be null in simulations)
- blockNumberstring
Block number in hexadecimal
- transactionHashstring
Hash of the transaction
- transactionIndexstring
Index of the transaction in 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
1{2"jsonrpc": "2.0",3"id": 1,4"result": [5{6"hash": "0x50f55f0bbd9f28ad47ac14407dc27e850c35e2114ccfab3296bb6f7e227a14b9",7"parentHash": "0x89c0e2343cd9b7947bf9c2a260a7d8fa41f371a6d148173b5e7b6ecfd978b82d",8"sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",9"miner": "0x6f79bd3a2193f5371e72eac9dffac0631f1026e2",10"stateRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",11"transactionsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",12"receiptsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",13"logsBloom": "0x00000000000000000000000000000000001000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000008000000000000000000040000000000000000000000000000000000000000000000000000000000000000000000000011000000000000004000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000002000000000000000000000000000000000000010000000000000000000000000000800000000000000000000000000000000000000000000000000000",14"difficulty": "0x0",15"number": "0x5f4fa91",16"gasLimit": "0x8f0d180",17"gasUsed": "0x186a0",18"timestamp": "0x6a91b13f",19"extraData": "0x",20"mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",21"nonce": "0x0000000000000000",22"baseFeePerGas": "0x174876e800",23"withdrawalsRoot": "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",24"size": "0x257",25"uncles": [],26"transactions": [27"0xc4d421521a70ea98400852ee981060b39dfc06c308cb5880286fe16352652f6c"28],29"withdrawals": [],30"calls": [31{32"logs": [33{34"data": "0x0000000000000000000000000000000000000000000000000000000000000001",35"topics": [36"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",37"0x000000000000000000000000d8da6bf26964af9d7eed9e03e53415d37aa96045",38"0x000000000000000000000000014d023e954baae7f21e56ed8a5d81b12902684d"39],40"address": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",41"removed": false,42"logIndex": "0x0",43"blockHash": "0x50f55f0bbd9f28ad47ac14407dc27e850c35e2114ccfab3296bb6f7e227a14b9",44"blockNumber": "0x5f4fa91",45"transactionHash": "0xc4d421521a70ea98400852ee981060b39dfc06c308cb5880286fe16352652f6c",46"transactionIndex": "0x0"47}48],49"status": "0x1",50"gasUsed": "0x186a0",51"returnData": "0x"52}53]54}55]56}
1{2"jsonrpc": "2.0",3"id": 1,4"result": [5{6"hash": "0x50f55f0bbd9f28ad47ac14407dc27e850c35e2114ccfab3296bb6f7e227a14b9",7"parentHash": "0x89c0e2343cd9b7947bf9c2a260a7d8fa41f371a6d148173b5e7b6ecfd978b82d",8"sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",9"miner": "0x6f79bd3a2193f5371e72eac9dffac0631f1026e2",10"stateRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",11"transactionsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",12"receiptsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",13"logsBloom": "0x00000000000000000000000000000000001000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000008000000000000000000040000000000000000000000000000000000000000000000000000000000000000000000000011000000000000004000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000002000000000000000000000000000000000000010000000000000000000000000000800000000000000000000000000000000000000000000000000000",14"difficulty": "0x0",15"number": "0x5f4fa91",16"gasLimit": "0x8f0d180",17"gasUsed": "0x186a0",18"timestamp": "0x6a91b13f",19"extraData": "0x",20"mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",21"nonce": "0x0000000000000000",22"baseFeePerGas": "0x174876e800",23"withdrawalsRoot": "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",24"size": "0x257",25"uncles": [],26"transactions": [27"0xc4d421521a70ea98400852ee981060b39dfc06c308cb5880286fe16352652f6c"28],29"withdrawals": [],30"calls": [31{32"logs": [33{34"data": "0x0000000000000000000000000000000000000000000000000000000000000001",35"topics": [36"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",37"0x000000000000000000000000d8da6bf26964af9d7eed9e03e53415d37aa96045",38"0x000000000000000000000000014d023e954baae7f21e56ed8a5d81b12902684d"39],40"address": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",41"removed": false,42"logIndex": "0x0",43"blockHash": "0x50f55f0bbd9f28ad47ac14407dc27e850c35e2114ccfab3296bb6f7e227a14b9",44"blockNumber": "0x5f4fa91",45"transactionHash": "0xc4d421521a70ea98400852ee981060b39dfc06c308cb5880286fe16352652f6c",46"transactionIndex": "0x0"47}48],49"status": "0x1",50"gasUsed": "0x186a0",51"returnData": "0x"52}53]54}55]56}