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 result object which contains the following fields
The address the transaction is sent from
The gas provided for the transaction execution encoded as hexadecimal
The gas used encoded as hexadecimal
The address the transaction is directed to
The input data provided with the transaction encoded as hexadecimal
(Optional) The output data of the call encoded as hexadecimal
(Optional) The array of internal calls made during the transaction
The internal call object
The address making the call
The gas limit specified for the call encoded as hexadecimal
The gas used during the call encoded as hexadecimal
The address being called
The input data for the call encoded as hexadecimal
(Optional) The output data of the call encoded as hexadecimal
(Optional) The nested array of internal calls made during this call
The value in wei sent with the call encoded as hexadecimal
The type of call (e.g., CALL, STATICCALL, DELEGATECALL)
The value in wei sent with this transaction encoded as hexadecimal
The type of the call (e.g., CALL, STATICCALL, DELEGATECALL)
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"calls": [6{7"from": "0x4200000000000000000000000000000000000015",8"gas": "0xe9b52",9"gasUsed": "0x3fdf",10"input": "0x440a5e20000007d0000dbba0000000000000000b00000000672cc02300000000014282c2000000000000000000000000000000000000000000000000000000032b5a2481000000000000000000000000000000000000000000000000000000000007dcc27f63f53bba0ae499651943bdda527a116df9f2529fd15b88be3b9bc46094d9ad0000000000000000000000002f60a5184c63ca94f82a27100643dbabe4f3f7fd",11"to": "0xc0d3c0d3c0d3c0d3c0d3c0d3c0d3c0d3c0d30015",12"type": "DELEGATECALL",13"value": "0x0"14}15],16"from": "0xdeaddeaddeaddeaddeaddeaddeaddeaddead0001",17"gas": "0xf4240",18"gasUsed": "0xab96",19"input": "0x440a5e20000007d0000dbba0000000000000000b00000000672cc02300000000014282c2000000000000000000000000000000000000000000000000000000032b5a2481000000000000000000000000000000000000000000000000000000000007dcc27f63f53bba0ae499651943bdda527a116df9f2529fd15b88be3b9bc46094d9ad0000000000000000000000002f60a5184c63ca94f82a27100643dbabe4f3f7fd",20"to": "0x4200000000000000000000000000000000000015",21"type": "CALL",22"value": "0x0"23}24}
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"calls": [6{7"from": "0x4200000000000000000000000000000000000015",8"gas": "0xe9b52",9"gasUsed": "0x3fdf",10"input": "0x440a5e20000007d0000dbba0000000000000000b00000000672cc02300000000014282c2000000000000000000000000000000000000000000000000000000032b5a2481000000000000000000000000000000000000000000000000000000000007dcc27f63f53bba0ae499651943bdda527a116df9f2529fd15b88be3b9bc46094d9ad0000000000000000000000002f60a5184c63ca94f82a27100643dbabe4f3f7fd",11"to": "0xc0d3c0d3c0d3c0d3c0d3c0d3c0d3c0d3c0d30015",12"type": "DELEGATECALL",13"value": "0x0"14}15],16"from": "0xdeaddeaddeaddeaddeaddeaddeaddeaddead0001",17"gas": "0xf4240",18"gasUsed": "0xab96",19"input": "0x440a5e20000007d0000dbba0000000000000000b00000000672cc02300000000014282c2000000000000000000000000000000000000000000000000000000032b5a2481000000000000000000000000000000000000000000000000000000000007dcc27f63f53bba0ae499651943bdda527a116df9f2529fd15b88be3b9bc46094d9ad0000000000000000000000002f60a5184c63ca94f82a27100643dbabe4f3f7fd",20"to": "0x4200000000000000000000000000000000000015",21"type": "CALL",22"value": "0x0"23}24}