Parameters
The RLP encoded block
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
Returns
A result array with the following fields:
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
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{6"type": "CALL",7"from": "0x5A0b54D5dc17e0AadC383d2db43B0a0D3E029c4c",8"to": "0xdAC17F958D2ee523a2206206994597C13D831ec7",9"value": "0x0",10"gas": "0x15f90",11"gasUsed": "0xd880",12"input": "0xa9059cbb000000000000000000000000c6cde7c39eb2f0f0095f41570af89efc2c1ea828000000000000000000000000000000000000000000000000000000003b9aca00",13"output": "0x0000000000000000000000000000000000000000000000000000000000000001",14"calls": [15{16"type": "STATICCALL",17"from": "0xdAC17F958D2ee523a2206206994597C13D831ec7",18"to": "0xb46d4e66c0445e3b1a7df818f5fc5e9aedb90da2",19"gas": "0xbf83",20"gasUsed": "0x383",21"input": "0x70a082310000000000000000000000005a0b54d5dc17e0aadc383d2db43b0a0d3e029c4c",22"output": "0x00000000000000000000000000000000000000000000000000000002540be400"23}24]25},26{27"type": "CALL",28"from": "0x8894e0a0c962cb723c1976a4421c95949be2d4e3",29"to": "0x6b175474e89094c44da98b954eedeac495271d0f",30"value": "0x0",31"gas": "0x30d40",32"gasUsed": "0x10a88",33"input": "0x23b872dd0000000000000000000000008894e0a0c962cb723c1976a4421c95949be2d4e3000000000000000000000000a478c2975ab1ea89e8196811f51a7b7ade33eb11000000000000000000000000000000000000000000000054b419212a0b334000",34"output": "0x0000000000000000000000000000000000000000000000000000000000000001",35"calls": []36}37]38}
1{2"jsonrpc": "2.0",3"id": 1,4"result": [5{6"type": "CALL",7"from": "0x5A0b54D5dc17e0AadC383d2db43B0a0D3E029c4c",8"to": "0xdAC17F958D2ee523a2206206994597C13D831ec7",9"value": "0x0",10"gas": "0x15f90",11"gasUsed": "0xd880",12"input": "0xa9059cbb000000000000000000000000c6cde7c39eb2f0f0095f41570af89efc2c1ea828000000000000000000000000000000000000000000000000000000003b9aca00",13"output": "0x0000000000000000000000000000000000000000000000000000000000000001",14"calls": [15{16"type": "STATICCALL",17"from": "0xdAC17F958D2ee523a2206206994597C13D831ec7",18"to": "0xb46d4e66c0445e3b1a7df818f5fc5e9aedb90da2",19"gas": "0xbf83",20"gasUsed": "0x383",21"input": "0x70a082310000000000000000000000005a0b54d5dc17e0aadc383d2db43b0a0d3e029c4c",22"output": "0x00000000000000000000000000000000000000000000000000000002540be400"23}24]25},26{27"type": "CALL",28"from": "0x8894e0a0c962cb723c1976a4421c95949be2d4e3",29"to": "0x6b175474e89094c44da98b954eedeac495271d0f",30"value": "0x0",31"gas": "0x30d40",32"gasUsed": "0x10a88",33"input": "0x23b872dd0000000000000000000000008894e0a0c962cb723c1976a4421c95949be2d4e3000000000000000000000000a478c2975ab1ea89e8196811f51a7b7ade33eb11000000000000000000000000000000000000000000000054b419212a0b334000",34"output": "0x0000000000000000000000000000000000000000000000000000000000000001",35"calls": []36}37]38}