Parameters
The transaction call object which contains the following fields:
The address sending the simulated transaction
The address to which the transaction is addressed
The integer of gas provided for the transaction execution
The integer of gasPrice used for each paid gas encoded as hexadecimal
The maximum fee per gas to pay above the base fee (EIP-1559)
The maximum total fee per gas the sender is willing to pay (EIP-1559)
The integer of value sent with this transaction encoded as hexadecimal
The hash of the method signature and encoded parameters. For more information, see the Contract ABI description in the Solidity documentation
The block number in hexadecimal format or the string latest, earliest, pending, safe or finalized
Returns
A list of addresses and storage keys that the transaction will access
The address that will be accessed
The storage keys that will be accessed at this address
The estimated gas used by the transaction with the access list included
Error message if the transaction would revert (optional, present only on failure)
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"accessList": [],6"gasUsed": "0x5dc0"7}8}
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"accessList": [],6"gasUsed": "0x5dc0"7}8}