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": "0x9",7"blobGasUsed": "0x0",8"calls": [9{10"returnData": "0x",11"logs": [12{13"address": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",14"topics": [15"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",16"0x000000000000000000000000c000000000000000000000000000000000000000",17"0x000000000000000000000000c000000000000000000000000000000000000001"18],19"data": "0x0000000000000000000000000000000000000000000000000000000000000001",20"blockNumber": "0x4916b81",21"transactionHash": "0x7b7ae9ddc63222f50d189b81c3ea2792efabfef38900a515c4ecc03173de8269",22"transactionIndex": "0x0",23"blockHash": "0x1d49ed35b12c3b875c5ec09f660b324307e0547cc9f496877d8109f29db53ca0",24"blockTimestamp": "0x6a6866b4",25"logIndex": "0x0",26"removed": false27}28],29"gasUsed": "0x5208",30"status": "0x1"31}32],33"difficulty": "0x0",34"epoch": "0x0",35"excessBlobGas": "0x0",36"extraData": "0x000000000000000000000000",37"gasLimit": "0x12a05f200",38"gasUsed": "0x5208",39"hash": "0x1d49ed35b12c3b875c5ec09f660b324307e0547cc9f496877d8109f29db53ca0",40"logsBloom": "0x00000200000000000000000000200000001000000000000000000000000021000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000040000000000000000000000000000000000000000000000000000000000000000000000000010000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000002000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000",41"miner": "0x0000000000000000000000000000000000000000",42"mixHash": "0x16cb215e29c0006c703dfe0f2c7d1dd64613b17e5c9dbc81c20f14aefe2ea2c8",43"nonce": "0x0000000000000000",44"number": "0x4916b81",45"parentHash": "0x330e8f7a7de21d22d5abbc62d08c3bccf4936e9431168d969e7e9de719295631",46"receiptsRoot": "0x9583abeebb97449012460de1fc1012dddfabce478ef0f51f97c8be1ae2269b47",47"sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",48"size": "0x23a",49"stateRoot": "0xb78258d47a6c1623788771c5109e3b3286dc88a89e95e28fe92d4ffe07209e50",50"timestamp": "0x6a6866b4",51"timestampNano": "0x18c6666fa5520800",52"totalDifficulty": "0x0",53"transactions": [54"0x7b7ae9ddc63222f50d189b81c3ea2792efabfef38900a515c4ecc03173de8269"55],56"transactionsRoot": "0xd8ea8a5e361423669e2e8315d3fb89240e0dd57de14e805fe5e0e9df02881cba",57"uncles": [],58"withdrawalsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"59}60]61}
1{2"jsonrpc": "2.0",3"id": 1,4"result": [5{6"baseFeePerGas": "0x9",7"blobGasUsed": "0x0",8"calls": [9{10"returnData": "0x",11"logs": [12{13"address": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",14"topics": [15"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",16"0x000000000000000000000000c000000000000000000000000000000000000000",17"0x000000000000000000000000c000000000000000000000000000000000000001"18],19"data": "0x0000000000000000000000000000000000000000000000000000000000000001",20"blockNumber": "0x4916b81",21"transactionHash": "0x7b7ae9ddc63222f50d189b81c3ea2792efabfef38900a515c4ecc03173de8269",22"transactionIndex": "0x0",23"blockHash": "0x1d49ed35b12c3b875c5ec09f660b324307e0547cc9f496877d8109f29db53ca0",24"blockTimestamp": "0x6a6866b4",25"logIndex": "0x0",26"removed": false27}28],29"gasUsed": "0x5208",30"status": "0x1"31}32],33"difficulty": "0x0",34"epoch": "0x0",35"excessBlobGas": "0x0",36"extraData": "0x000000000000000000000000",37"gasLimit": "0x12a05f200",38"gasUsed": "0x5208",39"hash": "0x1d49ed35b12c3b875c5ec09f660b324307e0547cc9f496877d8109f29db53ca0",40"logsBloom": "0x00000200000000000000000000200000001000000000000000000000000021000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000040000000000000000000000000000000000000000000000000000000000000000000000000010000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000002000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000",41"miner": "0x0000000000000000000000000000000000000000",42"mixHash": "0x16cb215e29c0006c703dfe0f2c7d1dd64613b17e5c9dbc81c20f14aefe2ea2c8",43"nonce": "0x0000000000000000",44"number": "0x4916b81",45"parentHash": "0x330e8f7a7de21d22d5abbc62d08c3bccf4936e9431168d969e7e9de719295631",46"receiptsRoot": "0x9583abeebb97449012460de1fc1012dddfabce478ef0f51f97c8be1ae2269b47",47"sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",48"size": "0x23a",49"stateRoot": "0xb78258d47a6c1623788771c5109e3b3286dc88a89e95e28fe92d4ffe07209e50",50"timestamp": "0x6a6866b4",51"timestampNano": "0x18c6666fa5520800",52"totalDifficulty": "0x0",53"transactions": [54"0x7b7ae9ddc63222f50d189b81c3ea2792efabfef38900a515c4ecc03173de8269"55],56"transactionsRoot": "0xd8ea8a5e361423669e2e8315d3fb89240e0dd57de14e805fe5e0e9df02881cba",57"uncles": [],58"withdrawalsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421"59}60]61}