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
- gasstring
(Optional) The gas limit for 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
- 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": "0x5f5e100",7"blobGasUsed": "0x0",8"calls": [9{10"returnData": "0x",11"logs": [12{13"address": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",14"topics": [15"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",16"0x000000000000000000000000d8da6bf26964af9d7eed9e03e53415d37aa96045",17"0x000000000000000000000000014d023e954baae7f21e56ed8a5d81b12902684d"18],19"data": "0x0000000000000000000000000000000000000000000000000000000000000001",20"blockNumber": "0x5671ab1",21"transactionHash": "0x89722493915290718dc61333082a0f9867a6e939bd9c70bb8ebad0fb345f344e",22"transactionIndex": "0x0",23"blockHash": "0x8c8138d01d9d7c1d649985d5d7b755c789ce7201e206e9139f287bfbc603da0b",24"blockTimestamp": "0x6a5fe5f9",25"logIndex": "0x0",26"removed": false27},28{29"address": "0x0000000000000000000000000000000000001010",30"topics": [31"0xe6497e3ee548a3372136af2fcb0696db31fc6cf20260707645068bd3fe97f3c4",32"0x0000000000000000000000000000000000000000000000000000000000001010",33"0x000000000000000000000000d8da6bf26964af9d7eed9e03e53415d37aa96045",34"0x000000000000000000000000014d023e954baae7f21e56ed8a5d81b12902684d"35],36"data": "0x00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000de0ad9b58f1600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000de0ad9b58f15fff0000000000000000000000000000000000000000000000000000000000000001",37"blockNumber": "0x5671ab1",38"transactionHash": "0x89722493915290718dc61333082a0f9867a6e939bd9c70bb8ebad0fb345f344e",39"transactionIndex": "0x0",40"blockHash": "0x8c8138d01d9d7c1d649985d5d7b755c789ce7201e206e9139f287bfbc603da0b",41"blockTimestamp": "0x6a5fe5f9",42"logIndex": "0x1",43"removed": false44}45],46"gasUsed": "0x5208",47"maxUsedGas": "0x5208",48"status": "0x1"49}50],51"difficulty": "0x0",52"excessBlobGas": "0x0",53"extraData": "0x",54"gasLimit": "0x9896800",55"gasUsed": "0x5208",56"hash": "0x8c8138d01d9d7c1d649985d5d7b755c789ce7201e206e9139f287bfbc603da0b",57"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000100001000000008000000000000000000000000000000000000000000000000000000000800000000000000000000100000000000000000000000000000000000000000000000000000000000000000001000000000000004000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000810000108000000000000000000000800000000000000000000000000000000000000000000000100000",58"miner": "0x0000000000000000000000000000000000000000",59"mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",60"nonce": "0x0000000000000000",61"number": "0x5671ab1",62"parentBeaconBlockRoot": "0x0000000000000000000000000000000000000000000000000000000000000000",63"parentHash": "0x23629e1d46581476cee6da3e3806ff9e0f03a703b97979770b2f61131df39beb",64"receiptsRoot": "0xc0e297968ce7d93642e26b0d451db747b59c9536591be542916be37f31390c69",65"sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",66"size": "0x257",67"stateRoot": "0xd63158ed545935c97ab1f36f12a35c17e40843e257b5dbd6379e16b104d9fd9d",68"timestamp": "0x6a5fe5f9",69"transactions": [70"0x89722493915290718dc61333082a0f9867a6e939bd9c70bb8ebad0fb345f344e"71],72"transactionsRoot": "0xebb43ebc946ee381c84a13a8258fad4c5b924782c58574cd0a8e460720dc621e",73"uncles": []74}75]76}
1{2"jsonrpc": "2.0",3"id": 1,4"result": [5{6"baseFeePerGas": "0x5f5e100",7"blobGasUsed": "0x0",8"calls": [9{10"returnData": "0x",11"logs": [12{13"address": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",14"topics": [15"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",16"0x000000000000000000000000d8da6bf26964af9d7eed9e03e53415d37aa96045",17"0x000000000000000000000000014d023e954baae7f21e56ed8a5d81b12902684d"18],19"data": "0x0000000000000000000000000000000000000000000000000000000000000001",20"blockNumber": "0x5671ab1",21"transactionHash": "0x89722493915290718dc61333082a0f9867a6e939bd9c70bb8ebad0fb345f344e",22"transactionIndex": "0x0",23"blockHash": "0x8c8138d01d9d7c1d649985d5d7b755c789ce7201e206e9139f287bfbc603da0b",24"blockTimestamp": "0x6a5fe5f9",25"logIndex": "0x0",26"removed": false27},28{29"address": "0x0000000000000000000000000000000000001010",30"topics": [31"0xe6497e3ee548a3372136af2fcb0696db31fc6cf20260707645068bd3fe97f3c4",32"0x0000000000000000000000000000000000000000000000000000000000001010",33"0x000000000000000000000000d8da6bf26964af9d7eed9e03e53415d37aa96045",34"0x000000000000000000000000014d023e954baae7f21e56ed8a5d81b12902684d"35],36"data": "0x00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000de0ad9b58f1600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000de0ad9b58f15fff0000000000000000000000000000000000000000000000000000000000000001",37"blockNumber": "0x5671ab1",38"transactionHash": "0x89722493915290718dc61333082a0f9867a6e939bd9c70bb8ebad0fb345f344e",39"transactionIndex": "0x0",40"blockHash": "0x8c8138d01d9d7c1d649985d5d7b755c789ce7201e206e9139f287bfbc603da0b",41"blockTimestamp": "0x6a5fe5f9",42"logIndex": "0x1",43"removed": false44}45],46"gasUsed": "0x5208",47"maxUsedGas": "0x5208",48"status": "0x1"49}50],51"difficulty": "0x0",52"excessBlobGas": "0x0",53"extraData": "0x",54"gasLimit": "0x9896800",55"gasUsed": "0x5208",56"hash": "0x8c8138d01d9d7c1d649985d5d7b755c789ce7201e206e9139f287bfbc603da0b",57"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000100001000000008000000000000000000000000000000000000000000000000000000000800000000000000000000100000000000000000000000000000000000000000000000000000000000000000001000000000000004000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000810000108000000000000000000000800000000000000000000000000000000000000000000000100000",58"miner": "0x0000000000000000000000000000000000000000",59"mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",60"nonce": "0x0000000000000000",61"number": "0x5671ab1",62"parentBeaconBlockRoot": "0x0000000000000000000000000000000000000000000000000000000000000000",63"parentHash": "0x23629e1d46581476cee6da3e3806ff9e0f03a703b97979770b2f61131df39beb",64"receiptsRoot": "0xc0e297968ce7d93642e26b0d451db747b59c9536591be542916be37f31390c69",65"sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",66"size": "0x257",67"stateRoot": "0xd63158ed545935c97ab1f36f12a35c17e40843e257b5dbd6379e16b104d9fd9d",68"timestamp": "0x6a5fe5f9",69"transactions": [70"0x89722493915290718dc61333082a0f9867a6e939bd9c70bb8ebad0fb345f344e"71],72"transactionsRoot": "0xebb43ebc946ee381c84a13a8258fad4c5b924782c58574cd0a8e460720dc621e",73"uncles": []74}75]76}