Parameters
The transaction hash that needs to be traced, encoded in hexadecimal format
The tracer object with the following fields:
The type of tracer. It could be callTracer or prestateTracer
The calltracer keeps track of all call frames, including depth 0 calls, that are made during a transaction
The prestateTracer replays the transaction and tracks every part of state that occured during the transaction
The object to specify the configurations of the tracer
When set to true, this will only trace the primary (top-level) call and not any sub-calls. It eliminates the additional processing for each call frame
A string of decimal integers that overrides the JavaScript-based tracing calls default timeout of 5 seconds
Returns
An object containing detailed information about the traced transaction
The address the transaction is sent from
The integer of the gas provided for the transaction execution
The integer of the gas used
The address the transaction is directed to
The data given at the time of input
The output data returned by the call
(Optional) An array containing information about internal calls made during the transaction
The address making the call
The gas limit specified for the call
The amount of gas used during the call
The address being called
The input data for the call
(Optional) The output data of the call
The value (in Wei) sent with the call
The type of call (e.g., CALL or STATICCALL)
The sub-calls associated with the call
The integer of the value sent with this transaction
The type of the call
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"from": "0x43e4a1aa550a979582dc3449a6bd441f37f2f84c",6"gas": "0xea60",7"gasUsed": "0xc964",8"to": "0x779c127bd3b93efcefacf182e2ce4907765db997",9"input": "0xa9059cbb000000000000000000000000f9f5d67ea953a764b07e05bbad59d851544351e5000000000000000000000000000000000004d0985cb1d3608acc930223590000",10"output": "0x0000000000000000000000000000000000000000000000000000000000000001",11"value": "0x0",12"type": "CALL"13}14}
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"from": "0x43e4a1aa550a979582dc3449a6bd441f37f2f84c",6"gas": "0xea60",7"gasUsed": "0xc964",8"to": "0x779c127bd3b93efcefacf182e2ce4907765db997",9"input": "0xa9059cbb000000000000000000000000f9f5d67ea953a764b07e05bbad59d851544351e5000000000000000000000000000000000004d0985cb1d3608acc930223590000",10"output": "0x0000000000000000000000000000000000000000000000000000000000000001",11"value": "0x0",12"type": "CALL"13}14}