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
- maxUsedGasstring
Maximum amount of gas used in hexadecimal
- statusstring
Status code of the call in hexadecimal
- errorobject
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
- 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
- requestsHashstring
Requests hash 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
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": "0x5208",13"status": "0x1"14}15],16"difficulty": "0x0",17"excessBlobGas": "0xb5eba70",18"extraData": "0x",19"gasLimit": "0x3938700",20"gasUsed": "0x5208",21"hash": "0x920189344ddf2bfadb7c8cf4362b8e8c18bfb021a5f6630f84d17460ca05f58c",22"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",23"miner": "0x4838b106fce9647bdf1e7877bf73ce8b0bad5f97",24"mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",25"nonce": "0x0000000000000000",26"number": "0x1798e67",27"parentBeaconBlockRoot": "0x0000000000000000000000000000000000000000000000000000000000000000",28"parentHash": "0x73b3825a878af74a1b0a0c4a8233afa743ac6f6b8027361a53afaaa0f45265b0",29"receiptsRoot": "0xf78dfb743fbd92ade140711c8bbc542b5e307f0ab7984eff35d751969fe57efa",30"requestsHash": "0xe3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",31"sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",32"size": "0x295",33"stateRoot": "0xf8bed8e8aecd51364cb47cc175117bb204d4b539d70294c8c8127fe8b46191f2",34"timestamp": "0x69c57aeb",35"transactions": [36"0xaa0f891967daa09f2813be3cfec01338649a13d24accee47331cfd801647a0bb"37],38"transactionsRoot": "0xcd79f05db4ef640f2af2f569f5f953680f23558073542ba174e61df8169a0b2a",39"uncles": [],40"withdrawals": [],41"withdrawalsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"42}43]44}
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": "0x5208",13"status": "0x1"14}15],16"difficulty": "0x0",17"excessBlobGas": "0xb5eba70",18"extraData": "0x",19"gasLimit": "0x3938700",20"gasUsed": "0x5208",21"hash": "0x920189344ddf2bfadb7c8cf4362b8e8c18bfb021a5f6630f84d17460ca05f58c",22"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",23"miner": "0x4838b106fce9647bdf1e7877bf73ce8b0bad5f97",24"mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",25"nonce": "0x0000000000000000",26"number": "0x1798e67",27"parentBeaconBlockRoot": "0x0000000000000000000000000000000000000000000000000000000000000000",28"parentHash": "0x73b3825a878af74a1b0a0c4a8233afa743ac6f6b8027361a53afaaa0f45265b0",29"receiptsRoot": "0xf78dfb743fbd92ade140711c8bbc542b5e307f0ab7984eff35d751969fe57efa",30"requestsHash": "0xe3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",31"sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",32"size": "0x295",33"stateRoot": "0xf8bed8e8aecd51364cb47cc175117bb204d4b539d70294c8c8127fe8b46191f2",34"timestamp": "0x69c57aeb",35"transactions": [36"0xaa0f891967daa09f2813be3cfec01338649a13d24accee47331cfd801647a0bb"37],38"transactionsRoot": "0xcd79f05db4ef640f2af2f569f5f953680f23558073542ba174e61df8169a0b2a",39"uncles": [],40"withdrawals": [],41"withdrawalsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"42}43]44}