Parameters
The transaction call object which contains the following fields:
The string of the address the transaction is sent from
The string of the address to the transaction is directed to
The integer of the gas provided for the transaction execution
The integer of the gasPrice used for each paid gas encoded as hexadecimal
The integer of the value sent with this transaction encoded as hexadecimal
The string of the hash of the method signature and encoded parameters, see the Ethereum Contract ABI
The type of trace to retrieve. One or more of: trace (basic call trace), vmTrace (full VM execution trace), stateDiff (state changes due to the transaction)
The block number as a string in hexadecimal format or tags. The supported tag values include earliest for the earliest/genesis block, latest for the latest mined block, pending for the pending state/transactions, safe for the most recent secure block, and finalized for the most recent secure block accepted by more than 2/3 of validators. safe and finalized are only supported on Ethereum and Gnosis
Returns
The transaction trace result object
The data returned as output encoded in hexadecimal format
The altered Ethereum state due to execution of the given transaction, or null if not available
An array of basic trace objects for the given transaction
The action performed during the trace
The address of the sender
The type of call such as call, staticcall, delegatecall
The gas provided by the sender, encoded as hexadecimal
The data sent along with the transaction
The address of the receiver
The value sent with this transaction, encoded as hexadecimal
The execution result of the trace
The amount of gas used by this trace
The return value of the contract call, empty if no RETURN executed
The number of subtraces (internal calls) within this trace
The list of addresses where the call executed, including parent calls and order
The type of the trace, such as call or create
The full trace of the virtual machine's state during execution, including sub-calls, or null if not available
1{2"id": 1,3"jsonrpc": "2.0",4"error": {5"code": -32601,6"message": "the method trace_call does not exist/is not available"7}8}
1{2"id": 1,3"jsonrpc": "2.0",4"error": {5"code": -32601,6"message": "the method trace_call does not exist/is not available"7}8}