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
The transaction call trace.
The address from which the transaction was sent.
The gas provided for the transaction, encoded as a hexadecimal value.
The gas used by the transaction, encoded as a hexadecimal value.
The input data supplied to the transaction.
The address to which the transaction was sent.
The type of call.
The value transferred by the transaction, encoded as a hexadecimal value.
1{2"jsonrpc": "2.0",3"result": {4"from": "0x5ad176ebb13cabe62ee7c07f52a67b4a48cbef83",5"gas": "0x61a80",6"gasUsed": "0x98d2",7"input": "0xda1750b0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000010000000404624044d1509a0460ae9dc9236b04602aaee65ef7045e993727d9b3",8"to": "0xbbe55e29bbc6d71ecab1ac011c9ac5206ab2fe74",9"type": "CALL",10"value": "0x0"11},12"id": 113}
1{2"jsonrpc": "2.0",3"result": {4"from": "0x5ad176ebb13cabe62ee7c07f52a67b4a48cbef83",5"gas": "0x61a80",6"gasUsed": "0x98d2",7"input": "0xda1750b0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000010000000404624044d1509a0460ae9dc9236b04602aaee65ef7045e993727d9b3",8"to": "0xbbe55e29bbc6d71ecab1ac011c9ac5206ab2fe74",9"type": "CALL",10"value": "0x0"11},12"id": 113}