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
- statestring
(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
Use 'pending' to execute against the most recent GIWA Flashblock. Other valid tags are 'latest', 'earliest', 'safe', and 'finalized'
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
- errorobject
(Optional) An object array containing error information
- codeinteger
An error status code
- datastring
A data field containing error related information
- messagestring
An error message
- gasUsedstring
Amount of gas used 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
- blockHashstring
Block hash or null if not yet included
- blockNumberstring
Block number in hexadecimal
- blockTimestampstring
Block timestamp in hexadecimal
- transactionHashstring
Hash of the transaction
- transactionIndexstring
Index of the transaction in the block
- logIndexstring
Index of the log in the block
- removedboolean
Whether the log was removed due to chain reorganization
- maxUsedGasstring
The maximum gas consumed while processing the simulated call, encoded as hexadecimal
- returnDatastring
Return data from the call in hexadecimal
- statusstring
Status code of the call in hexadecimal
- 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"result": [4{5"baseFeePerGas": "0x5f5e100",6"blobGasUsed": "0x9c40",7"calls": [8{9"error": {10"code": 3,11"data": "0x",12"message": "execution reverted"13},14"gasUsed": "0x5233",15"logs": [],16"maxUsedGas": "0x5233",17"returnData": "0x",18"status": "0x0"19}20],21"difficulty": "0x0",22"excessBlobGas": "0x0",23"extraData": "0x01000000fa000000060000000000000000",24"gasLimit": "0x3938700",25"gasUsed": "0x5233",26"hash": "0x101021ea2f8900d7530407f54dc1a4fac21ea0d3177789f62db0d90df37a3a15",27"logsBloom": "0x00000000000000000000080000000000001000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000040000000000000000000000000000000000000000000000020000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000002000001000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000100000000000000000000",28"miner": "0x4200000000000000000000000000000000000011",29"mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",30"nonce": "0x0000000000000000",31"number": "0x2052f3f",32"parentBeaconBlockRoot": "0x797c82b4ab2c26b4e34357b8323d792ff85de7073885086d78b920f02ac15aca",33"parentHash": "0xc140d75f15c9862a390d274f420a4517381658446df85c47c2f53a9736fb2a2c",34"receiptsRoot": "0x619d343dce36c3c936ca930f3ba82e334507ca857025e6dae388b20d5e0e4bcf",35"requestsHash": "0xe3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",36"sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",37"size": "0x2b2",38"stateRoot": "0x0000000000000000000000000000000000000000000000000000000000000000",39"timestamp": "0x6a871ba6",40"transactions": [41"0x722ca035810a03204f2dd2131bc43d3224c997abba372d53df2d7f1bec17e79c"42],43"transactionsRoot": "0xcebd7014fb1c363148d6fa5feb255a7775a053cccbda91e457feb9fe4434cc34",44"uncles": [],45"withdrawals": [],46"withdrawalsRoot": "0x0000000000000000000000000000000000000000000000000000000000000000"47}48],49"id": 150}
1{2"jsonrpc": "2.0",3"result": [4{5"baseFeePerGas": "0x5f5e100",6"blobGasUsed": "0x9c40",7"calls": [8{9"error": {10"code": 3,11"data": "0x",12"message": "execution reverted"13},14"gasUsed": "0x5233",15"logs": [],16"maxUsedGas": "0x5233",17"returnData": "0x",18"status": "0x0"19}20],21"difficulty": "0x0",22"excessBlobGas": "0x0",23"extraData": "0x01000000fa000000060000000000000000",24"gasLimit": "0x3938700",25"gasUsed": "0x5233",26"hash": "0x101021ea2f8900d7530407f54dc1a4fac21ea0d3177789f62db0d90df37a3a15",27"logsBloom": "0x00000000000000000000080000000000001000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000040000000000000000000000000000000000000000000000020000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040000000002000001000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000100000000000000000000",28"miner": "0x4200000000000000000000000000000000000011",29"mixHash": "0x0000000000000000000000000000000000000000000000000000000000000000",30"nonce": "0x0000000000000000",31"number": "0x2052f3f",32"parentBeaconBlockRoot": "0x797c82b4ab2c26b4e34357b8323d792ff85de7073885086d78b920f02ac15aca",33"parentHash": "0xc140d75f15c9862a390d274f420a4517381658446df85c47c2f53a9736fb2a2c",34"receiptsRoot": "0x619d343dce36c3c936ca930f3ba82e334507ca857025e6dae388b20d5e0e4bcf",35"requestsHash": "0xe3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",36"sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",37"size": "0x2b2",38"stateRoot": "0x0000000000000000000000000000000000000000000000000000000000000000",39"timestamp": "0x6a871ba6",40"transactions": [41"0x722ca035810a03204f2dd2131bc43d3224c997abba372d53df2d7f1bec17e79c"42],43"transactionsRoot": "0xcebd7014fb1c363148d6fa5feb255a7775a053cccbda91e457feb9fe4434cc34",44"uncles": [],45"withdrawals": [],46"withdrawalsRoot": "0x0000000000000000000000000000000000000000000000000000000000000000"47}48],49"id": 150}