Parameters
- transactionHashstringREQUIRED
The transaction hash that needs to be traced, encoded in hexadecimal format
- objectobject
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
- resultobject
An object containing detailed information about the traced transaction
- fromstring
The address the transaction is sent from
- gasstring
The integer of the gas provided for the transaction execution
- gasUsedstring
The integer of the gas used
- tostring
The address the transaction is directed to
- inputstring
The data given at the time of input
- callsarray
(Optional) An array containing information about internal calls made during the transaction
- fromstring
The address making the call
- gasstring
The gas limit specified for the call
- gasUsedstring
The amount of gas used during the call
- tostring
The address being called
- inputstring
The input data for the call
- outputstring
(Optional) The output data of the call
- valuestring
The value (in Wei) sent with the call
- typestring
The type of call (e.g., CALL or STATICCALL)
- callsarray
The sub-calls associated with the call
- valuestring
The integer of the value sent with this transaction
- typestring
The type of the call
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"calls": [6{7"from": "0xd56e4eab23cb81f43168f9f45211eb027b9ac7cc",8"gas": "0x1a4fcb",9"gasUsed": "0xbb8",10"input": "0xfcaa7cbf19c64474e3ccd2a17bbd14b1df10c0a0a0190135ece0d283b655c3b1000000000000000000000000000000000000000000000000000000000000001bff38d1c8194b91dc7583b92e71f24392fecf39f7ccf437d2371cbe489c29a43e2886fbd902fb76fb7a8146a7af278ac99505407bf64d9b2ecc64805903dac164",11"output": "0x0000000000000000000000000d099360a069359fe7c9503ab44cbcb9eb2a7466",12"to": "0x0000000000000000000000000000000000000001",13"type": "STATICCALL"14},15{16"from": "0xd56e4eab23cb81f43168f9f45211eb027b9ac7cc",17"gas": "0x1a3609",18"gasUsed": "0xbb8",19"input": "0xfcaa7cbf19c64474e3ccd2a17bbd14b1df10c0a0a0190135ece0d283b655c3b1000000000000000000000000000000000000000000000000000000000000001b99da0f57306966ca072add7ccf787b7013a22b901217e0d713285db53fcf0492596e5bc662ec0d092ab3874b810b9887e914743ebb857cb5d8d1ed26f48b0a79",20"output": "0x000000000000000000000000ddbdc840164da20bcf6aa85c3957396c14642ab1",21"to": "0x0000000000000000000000000000000000000001",22"type": "STATICCALL"23},24{25"from": "0xd56e4eab23cb81f43168f9f45211eb027b9ac7cc",26"gas": "0x1a125b",27"gasUsed": "0x63c0",28"input": "0x704316e500000000000000000000000000000000000000000000000000000000000000b8675d454684430f32a1b33ec4be9d0204ea46e986e2fb8fd1f3def65ae6d3670f000000000000000000000000000000000000000000000000000000000000000a675d454684430f32a1b33ec4be9d0204ea46e986e2fb8fd1f3def65ae6d3670f",29"to": "0x38de71124f7a447a01d67945a51edce9ff491251",30"type": "CALL",31"value": "0x0"32}33],34"from": "0x21c3de23d98caddc406e3d31b25e807addf33633",35"gas": "0x1b40d0",36"gasUsed": "0x12916",37"input": "0xb143044b00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000b700000000000000000000000038de71124f7a447a01d67945a51edce9ff49125100000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000006552568500000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000000000084704316e500000000000000000000000000000000000000000000000000000000000000b8675d454684430f32a1b33ec4be9d0204ea46e986e2fb8fd1f3def65ae6d3670f000000000000000000000000000000000000000000000000000000000000000a675d454684430f32a1b33ec4be9d0204ea46e986e2fb8fd1f3def65ae6d3670f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000082ff38d1c8194b91dc7583b92e71f24392fecf39f7ccf437d2371cbe489c29a43e2886fbd902fb76fb7a8146a7af278ac99505407bf64d9b2ecc64805903dac1641b99da0f57306966ca072add7ccf787b7013a22b901217e0d713285db53fcf0492596e5bc662ec0d092ab3874b810b9887e914743ebb857cb5d8d1ed26f48b0a791b000000000000000000000000000000000000000000000000000000000000",38"to": "0xd56e4eab23cb81f43168f9f45211eb027b9ac7cc",39"type": "CALL",40"value": "0x0"41}42}
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"calls": [6{7"from": "0xd56e4eab23cb81f43168f9f45211eb027b9ac7cc",8"gas": "0x1a4fcb",9"gasUsed": "0xbb8",10"input": "0xfcaa7cbf19c64474e3ccd2a17bbd14b1df10c0a0a0190135ece0d283b655c3b1000000000000000000000000000000000000000000000000000000000000001bff38d1c8194b91dc7583b92e71f24392fecf39f7ccf437d2371cbe489c29a43e2886fbd902fb76fb7a8146a7af278ac99505407bf64d9b2ecc64805903dac164",11"output": "0x0000000000000000000000000d099360a069359fe7c9503ab44cbcb9eb2a7466",12"to": "0x0000000000000000000000000000000000000001",13"type": "STATICCALL"14},15{16"from": "0xd56e4eab23cb81f43168f9f45211eb027b9ac7cc",17"gas": "0x1a3609",18"gasUsed": "0xbb8",19"input": "0xfcaa7cbf19c64474e3ccd2a17bbd14b1df10c0a0a0190135ece0d283b655c3b1000000000000000000000000000000000000000000000000000000000000001b99da0f57306966ca072add7ccf787b7013a22b901217e0d713285db53fcf0492596e5bc662ec0d092ab3874b810b9887e914743ebb857cb5d8d1ed26f48b0a79",20"output": "0x000000000000000000000000ddbdc840164da20bcf6aa85c3957396c14642ab1",21"to": "0x0000000000000000000000000000000000000001",22"type": "STATICCALL"23},24{25"from": "0xd56e4eab23cb81f43168f9f45211eb027b9ac7cc",26"gas": "0x1a125b",27"gasUsed": "0x63c0",28"input": "0x704316e500000000000000000000000000000000000000000000000000000000000000b8675d454684430f32a1b33ec4be9d0204ea46e986e2fb8fd1f3def65ae6d3670f000000000000000000000000000000000000000000000000000000000000000a675d454684430f32a1b33ec4be9d0204ea46e986e2fb8fd1f3def65ae6d3670f",29"to": "0x38de71124f7a447a01d67945a51edce9ff491251",30"type": "CALL",31"value": "0x0"32}33],34"from": "0x21c3de23d98caddc406e3d31b25e807addf33633",35"gas": "0x1b40d0",36"gasUsed": "0x12916",37"input": "0xb143044b00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000b700000000000000000000000038de71124f7a447a01d67945a51edce9ff49125100000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000006552568500000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000000000084704316e500000000000000000000000000000000000000000000000000000000000000b8675d454684430f32a1b33ec4be9d0204ea46e986e2fb8fd1f3def65ae6d3670f000000000000000000000000000000000000000000000000000000000000000a675d454684430f32a1b33ec4be9d0204ea46e986e2fb8fd1f3def65ae6d3670f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000082ff38d1c8194b91dc7583b92e71f24392fecf39f7ccf437d2371cbe489c29a43e2886fbd902fb76fb7a8146a7af278ac99505407bf64d9b2ecc64805903dac1641b99da0f57306966ca072add7ccf787b7013a22b901217e0d713285db53fcf0492596e5bc662ec0d092ab3874b810b9887e914743ebb857cb5d8d1ed26f48b0a791b000000000000000000000000000000000000000000000000000000000000",38"to": "0xd56e4eab23cb81f43168f9f45211eb027b9ac7cc",39"type": "CALL",40"value": "0x0"41}42}