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
- 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
- withdrawalsarray
Array of withdrawal objects
- withdrawalsRootstring
Withdrawals trie root in hexadecimal
1{2"jsonrpc": "2.0",3"id": 1,4"result": [5{6"hash": "0xa965bd864a4492cd00418bee170db3a4e158f36777ae2e584cb92daa40917442",7"mainBlockGeneralGasLimit": "0x1c9c380",8"sharedGasLimit": "0x2faf080",9"timestampMillisPart": "0x1ea",10"parentHash": "0xb4207d29c1ebb9effed44df8e32c452c5eaea4e8f20ee4cd2edb888d7a15c0da",11"sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",12"miner": "0x0674e7ceaca07d4c2acdd2c910c2ec1fb318b1f2",13"stateRoot": "0x0000000000000000000000000000000000000000000000000000000000000000",14"transactionsRoot": "0x52bbee1e8a68e6238414c623800932cc256519733019e27392eab4fab5fa299a",15"receiptsRoot": "0x7fec404a3ffed8befb739350d6b1608e33903bf428c5bec97de5e3e047a83d0c",16"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000004000000000000000008000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000010000000000000004000000000000000000020000080000000800000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000",17"difficulty": "0x0",18"number": "0xf73da2",19"gasLimit": "0x1dcd6500",20"gasUsed": "0x42298",21"timestamp": "0x69faad03",22"extraData": "0x",23"mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",24"nonce": "0x0000000000000000",25"baseFeePerGas": "0x9",26"withdrawalsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",27"blobGasUsed": "0x0",28"excessBlobGas": "0x0",29"parentBeaconBlockRoot": "0x0000000000000000000000000000000000000000000000000000000000000000",30"requestsHash": "0xe3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",31"size": "0x2a3",32"timestampMillis": "0x19dfb33d5a2",33"uncles": [],34"transactions": [35"0xb7c82ed0ebaef7fe802df88b0ae5a06e88bdad8ff6411516fd5e8edf950ccb1b"36],37"withdrawals": [],38"calls": [39{40"returnData": "0x",41"logs": [42{43"address": "0x20c0000000000000000000000000000000000000",44"topics": [45"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",46"0x000000000000000000000000d8da6bf26964af9d7eed9e03e53415d37aa96045",47"0x000000000000000000000000feec000000000000000000000000000000000000"48],49"data": "0x0000000000000000000000000000000000000000000000000000000000000001",50"blockHash": "0xa965bd864a4492cd00418bee170db3a4e158f36777ae2e584cb92daa40917442",51"blockNumber": "0xf73da2",52"blockTimestamp": "0x69faad03",53"transactionHash": "0xb7c82ed0ebaef7fe802df88b0ae5a06e88bdad8ff6411516fd5e8edf950ccb1b",54"transactionIndex": "0x0",55"logIndex": "0x0",56"removed": false57}58],59"gasUsed": "0x42298",60"status": "0x1"61}62]63}64]65}
1{2"jsonrpc": "2.0",3"id": 1,4"result": [5{6"hash": "0xa965bd864a4492cd00418bee170db3a4e158f36777ae2e584cb92daa40917442",7"mainBlockGeneralGasLimit": "0x1c9c380",8"sharedGasLimit": "0x2faf080",9"timestampMillisPart": "0x1ea",10"parentHash": "0xb4207d29c1ebb9effed44df8e32c452c5eaea4e8f20ee4cd2edb888d7a15c0da",11"sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",12"miner": "0x0674e7ceaca07d4c2acdd2c910c2ec1fb318b1f2",13"stateRoot": "0x0000000000000000000000000000000000000000000000000000000000000000",14"transactionsRoot": "0x52bbee1e8a68e6238414c623800932cc256519733019e27392eab4fab5fa299a",15"receiptsRoot": "0x7fec404a3ffed8befb739350d6b1608e33903bf428c5bec97de5e3e047a83d0c",16"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000004000000000000000008000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000010000000000000004000000000000000000020000080000000800000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000",17"difficulty": "0x0",18"number": "0xf73da2",19"gasLimit": "0x1dcd6500",20"gasUsed": "0x42298",21"timestamp": "0x69faad03",22"extraData": "0x",23"mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",24"nonce": "0x0000000000000000",25"baseFeePerGas": "0x9",26"withdrawalsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",27"blobGasUsed": "0x0",28"excessBlobGas": "0x0",29"parentBeaconBlockRoot": "0x0000000000000000000000000000000000000000000000000000000000000000",30"requestsHash": "0xe3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",31"size": "0x2a3",32"timestampMillis": "0x19dfb33d5a2",33"uncles": [],34"transactions": [35"0xb7c82ed0ebaef7fe802df88b0ae5a06e88bdad8ff6411516fd5e8edf950ccb1b"36],37"withdrawals": [],38"calls": [39{40"returnData": "0x",41"logs": [42{43"address": "0x20c0000000000000000000000000000000000000",44"topics": [45"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef",46"0x000000000000000000000000d8da6bf26964af9d7eed9e03e53415d37aa96045",47"0x000000000000000000000000feec000000000000000000000000000000000000"48],49"data": "0x0000000000000000000000000000000000000000000000000000000000000001",50"blockHash": "0xa965bd864a4492cd00418bee170db3a4e158f36777ae2e584cb92daa40917442",51"blockNumber": "0xf73da2",52"blockTimestamp": "0x69faad03",53"transactionHash": "0xb7c82ed0ebaef7fe802df88b0ae5a06e88bdad8ff6411516fd5e8edf950ccb1b",54"transactionIndex": "0x0",55"logIndex": "0x0",56"removed": false57}58],59"gasUsed": "0x42298",60"status": "0x1"61}62]63}64]65}