Parameters
- transactionHashstringREQUIRED
The transaction hash that needs to be traced, encoded in hexadecimal format
- objectobjectREQUIRED
The tracer object with the following fields:
- tracerstring
The type of tracer. It could be callTracer or prestateTracer
- callTracerstring
The calltracer keeps track of all call frames, including depth 0 calls, that are made during a transaction
- prestateTracerstring
The prestateTracer replays the transaction and tracks every part of state that occured during the transaction
- tracerConfigobject
The object to specify the configurations of the tracer
- onlyTopCallboolean
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
- timeoutstring
A string of decimal integers that overrides the JavaScript-based tracing calls default timeout of 5 seconds
Returns
- type
The type of the call
- from
The address the transaction is sent from
- to
The address the transaction is directed to
- value
The integer of the value sent with this transaction
- gas
The integer of the gas provided for the transaction execution
- gasUsed
The integer of the gas used
- input
The data given at the time of input
- output
The data which is returned as an output
- error
The type of error, if any
- revertReason
The type solidity revert reason, if any
- calls
A list of sub-calls
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"calls": [6{7"calls": [8{9"from": "0xe3d8bd6aed4f159bc8000a9cd47cffdb95f96121",10"gas": "0xdd951",11"gasUsed": "0x4b4",12"input": "0x0902f1ac",13"output": "0x0000000000000000000000000000000000000000000007024465eb44b36352560000000000000000000000000000000000000000000004ec1b66a4f5d1c5be23000000000000000000000000000000000000000000000000000000006357a000",14"to": "0x1e593f1fe7b61c53874b54ec0c59fd0d5eb8621e",15"type": "STATICCALL"16}17],18"from": "0xf93525b95856fe1f1ccd37420ba4ef5dd060d408",19"gas": "0xe1db4",20"gasUsed": "0x1645",21"input": "0xd06ca61f00000000000000000000000000000000000000000000000340aad21b3b70000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000471ece3750da237f93b8e339c536989b8978a438000000000000000000000000765de816845861e75a25fca122bb6898b8b1282a",22"output": "0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000340aad21b3b70000000000000000000000000000000000000000000000000000245f9104c40ceea1b",23"to": "0xe3d8bd6aed4f159bc8000a9cd47cffdb95f96121",24"type": "STATICCALL"25},26{27"calls": [28{29"from": "0x1421bde4b10e8dd459b3bcb598810b1337d56842",30"gas": "0xdb660",31"gasUsed": "0x4c1",32"input": "0x0902f1ac",33"output": "0x0000000000000000000000000000000000000000000000028941a76e748dadef000000000000000000000000000000000000000000000d59c26abdac8768640b000000000000000000000000000000000000000000000000000000006357a0eb",34"to": "0x93887e0fa9f6c375b2765a6fe885593f16f077f9",35"type": "STATICCALL"36},37{38"from": "0x1421bde4b10e8dd459b3bcb598810b1337d56842",39"gas": "0xda520",40"gasUsed": "0x4c1",41"input": "0x0902f1ac",42"output": "0x0000000000000000000000000000000000000000000000059107c4a2940f59890000000000000000000000000000000000000000000029a4d876a7a89f908f6d000000000000000000000000000000000000000000000000000000006357a118",43"to": "0x517f717f0ae11efc2af8943071b66d77dfafc9fc",44"type": "STATICCALL"45}46],47"from": "0xf93525b95856fe1f1ccd37420ba4ef5dd060d408",48"gas": "0xdfa89",49"gasUsed": "0x287e",50"input": "0xd06ca61f00000000000000000000000000000000000000000000000245f9104c40ceea1b00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000003000000000000000000000000765de816845861e75a25fca122bb6898b8b1282a000000000000000000000000122013fd7df1c6f636a5bb8f03108e876548b455000000000000000000000000471ece3750da237f93b8e339c536989b8978a438",51"output": "0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000245f9104c40ceea1b000000000000000000000000000000000000000000000000006e266b6699b5e500000000000000000000000000000000000000000000000335540ae27809ad6d",52"to": "0x1421bde4b10e8dd459b3bcb598810b1337d56842",53"type": "STATICCALL"54}55],56"from": "0xc20fdff83235df9521ef5872ae398220ca874263",57"gas": "0xe803e",58"gasUsed": "0x7abd",59"input": "0xe5546f3700000000000000000000000000000000000000000000000340aad21b3b700000000000000000000000000000765de816845861e75a25fca122bb6898b8b1282a000000000000000000000000471ece3750da237f93b8e339c536989b8978a43800000000000000000000000062d5b84be28a183abb507e125b384122d2c25fae000000000000000000000000e3d8bd6aed4f159bc8000a9cd47cffdb95f961210000000000000000000000001421bde4b10e8dd459b3bcb598810b1337d56842000000000000000000000000055aec00dc22bfca3f2acf092148bddf218e1ac7000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000001000000000000000000000000c20fdff83235df9521ef5872ae398220ca8742630000000000000000000000000000000000000000000000000000000000000003000000000000000000000000765de816845861e75a25fca122bb6898b8b1282a000000000000000000000000122013fd7df1c6f636a5bb8f03108e876548b455000000000000000000000000471ece3750da237f93b8e339c536989b8978a438",60"output": "0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000b616d6f6f756e74206e6f31000000000000000000000000000000000000000000",61"to": "0xf93525b95856fe1f1ccd37420ba4ef5dd060d408",62"type": "CALL",63"value": "0x0"64}65}
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"calls": [6{7"calls": [8{9"from": "0xe3d8bd6aed4f159bc8000a9cd47cffdb95f96121",10"gas": "0xdd951",11"gasUsed": "0x4b4",12"input": "0x0902f1ac",13"output": "0x0000000000000000000000000000000000000000000007024465eb44b36352560000000000000000000000000000000000000000000004ec1b66a4f5d1c5be23000000000000000000000000000000000000000000000000000000006357a000",14"to": "0x1e593f1fe7b61c53874b54ec0c59fd0d5eb8621e",15"type": "STATICCALL"16}17],18"from": "0xf93525b95856fe1f1ccd37420ba4ef5dd060d408",19"gas": "0xe1db4",20"gasUsed": "0x1645",21"input": "0xd06ca61f00000000000000000000000000000000000000000000000340aad21b3b70000000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002000000000000000000000000471ece3750da237f93b8e339c536989b8978a438000000000000000000000000765de816845861e75a25fca122bb6898b8b1282a",22"output": "0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000340aad21b3b70000000000000000000000000000000000000000000000000000245f9104c40ceea1b",23"to": "0xe3d8bd6aed4f159bc8000a9cd47cffdb95f96121",24"type": "STATICCALL"25},26{27"calls": [28{29"from": "0x1421bde4b10e8dd459b3bcb598810b1337d56842",30"gas": "0xdb660",31"gasUsed": "0x4c1",32"input": "0x0902f1ac",33"output": "0x0000000000000000000000000000000000000000000000028941a76e748dadef000000000000000000000000000000000000000000000d59c26abdac8768640b000000000000000000000000000000000000000000000000000000006357a0eb",34"to": "0x93887e0fa9f6c375b2765a6fe885593f16f077f9",35"type": "STATICCALL"36},37{38"from": "0x1421bde4b10e8dd459b3bcb598810b1337d56842",39"gas": "0xda520",40"gasUsed": "0x4c1",41"input": "0x0902f1ac",42"output": "0x0000000000000000000000000000000000000000000000059107c4a2940f59890000000000000000000000000000000000000000000029a4d876a7a89f908f6d000000000000000000000000000000000000000000000000000000006357a118",43"to": "0x517f717f0ae11efc2af8943071b66d77dfafc9fc",44"type": "STATICCALL"45}46],47"from": "0xf93525b95856fe1f1ccd37420ba4ef5dd060d408",48"gas": "0xdfa89",49"gasUsed": "0x287e",50"input": "0xd06ca61f00000000000000000000000000000000000000000000000245f9104c40ceea1b00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000003000000000000000000000000765de816845861e75a25fca122bb6898b8b1282a000000000000000000000000122013fd7df1c6f636a5bb8f03108e876548b455000000000000000000000000471ece3750da237f93b8e339c536989b8978a438",51"output": "0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000245f9104c40ceea1b000000000000000000000000000000000000000000000000006e266b6699b5e500000000000000000000000000000000000000000000000335540ae27809ad6d",52"to": "0x1421bde4b10e8dd459b3bcb598810b1337d56842",53"type": "STATICCALL"54}55],56"from": "0xc20fdff83235df9521ef5872ae398220ca874263",57"gas": "0xe803e",58"gasUsed": "0x7abd",59"input": "0xe5546f3700000000000000000000000000000000000000000000000340aad21b3b700000000000000000000000000000765de816845861e75a25fca122bb6898b8b1282a000000000000000000000000471ece3750da237f93b8e339c536989b8978a43800000000000000000000000062d5b84be28a183abb507e125b384122d2c25fae000000000000000000000000e3d8bd6aed4f159bc8000a9cd47cffdb95f961210000000000000000000000001421bde4b10e8dd459b3bcb598810b1337d56842000000000000000000000000055aec00dc22bfca3f2acf092148bddf218e1ac7000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000001000000000000000000000000c20fdff83235df9521ef5872ae398220ca8742630000000000000000000000000000000000000000000000000000000000000003000000000000000000000000765de816845861e75a25fca122bb6898b8b1282a000000000000000000000000122013fd7df1c6f636a5bb8f03108e876548b455000000000000000000000000471ece3750da237f93b8e339c536989b8978a438",60"output": "0x0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000b616d6f6f756e74206e6f31000000000000000000000000000000000000000000",61"to": "0xf93525b95856fe1f1ccd37420ba4ef5dd060d408",62"type": "CALL",63"value": "0x0"64}65}