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
- 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
1{2"jsonrpc": "2.0",3"id": 1,4"result": [5{6"baseFeePerGas": "0x10b0760",7"blobGasUsed": "0x0",8"calls": [],9"difficulty": "0x1",10"excessBlobGas": "0x0",11"extraData": "0x248e442a8a1bb2f68511a2d982994e4f55bbd689b3ebbabe6a8af4184efd54a8",12"gasLimit": "0x4000000000000",13"gasUsed": "0x0",14"hash": "0x825f7c73ba1fe722b0341203daafe8829eda0b00ccd44c2ed2d21640c513577c",15"l1BlockNumber": "0x17a6ceb",16"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",17"miner": "0x0c5911d57b24fcf1dc8b2608efbae57c7098e32d",18"mixHash": "0x000000000000e4a800000000017a6ceb00000000000000330000000000000000",19"nonce": "0x0000000000000000",20"number": "0x50e5432",21"parentBeaconBlockRoot": "0x0000000000000000000000000000000000000000000000000000000000000000",22"parentHash": "0x1f78ef73e41dee24dd67fe071aecc01a4fb6fe34854946d042a61efa12f7735a",23"receiptsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",24"sendCount": "0xe4a8",25"sendRoot": "0x248e442a8a1bb2f68511a2d982994e4f55bbd689b3ebbabe6a8af4184efd54a8",26"sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",27"size": "0x24d",28"stateRoot": "0x90c96b184c93998017f2894106af62b2d0d694868844210d6d26a3ed1c868356",29"timestamp": "0x69cff3b7",30"transactions": [],31"transactionsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",32"uncles": []33}34]35}
1{2"jsonrpc": "2.0",3"id": 1,4"result": [5{6"baseFeePerGas": "0x10b0760",7"blobGasUsed": "0x0",8"calls": [],9"difficulty": "0x1",10"excessBlobGas": "0x0",11"extraData": "0x248e442a8a1bb2f68511a2d982994e4f55bbd689b3ebbabe6a8af4184efd54a8",12"gasLimit": "0x4000000000000",13"gasUsed": "0x0",14"hash": "0x825f7c73ba1fe722b0341203daafe8829eda0b00ccd44c2ed2d21640c513577c",15"l1BlockNumber": "0x17a6ceb",16"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",17"miner": "0x0c5911d57b24fcf1dc8b2608efbae57c7098e32d",18"mixHash": "0x000000000000e4a800000000017a6ceb00000000000000330000000000000000",19"nonce": "0x0000000000000000",20"number": "0x50e5432",21"parentBeaconBlockRoot": "0x0000000000000000000000000000000000000000000000000000000000000000",22"parentHash": "0x1f78ef73e41dee24dd67fe071aecc01a4fb6fe34854946d042a61efa12f7735a",23"receiptsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",24"sendCount": "0xe4a8",25"sendRoot": "0x248e442a8a1bb2f68511a2d982994e4f55bbd689b3ebbabe6a8af4184efd54a8",26"sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",27"size": "0x24d",28"stateRoot": "0x90c96b184c93998017f2894106af62b2d0d694868844210d6d26a3ed1c868356",29"timestamp": "0x69cff3b7",30"transactions": [],31"transactionsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",32"uncles": []33}34]35}