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
When set to true, enables a differential tracing mode, highlighting variations in execution between multiple calls or states
A string of decimal integers that overrides the JavaScript-based tracing calls default timeout of 5 seconds
Returns
An object containing detailed information about the traced transaction
The type of the call
The address the transaction is sent from
The address the transaction is directed to
The integer of the value sent with this transaction
The integer of the gas provided for the transaction execution
The integer of the gas used
The data given at the time of input
The data which is returned as an output
(Optional) The type of error encountered during execution; only present when the call errored
(Optional) The Solidity revert reason; only present when the call reverted with a reason
(Optional) A list of sub-calls; only present when the call frame contains internal calls
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, STATICCALL, DELEGATECALL)
(Optional) Further nested sub-calls
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"calls": [6{7"from": "0x10ed43c718714eb63d5aa57b78b54704e256024e",8"gas": "0x2593f",9"gasUsed": "0xbb1",10"input": "0x0902f1ac",11"output": "0x00000000000000000000000000000000000000000024ab655459272e0998e93800000000000000000000000000000000000000000000000cd0d197f6d63e94cc0000000000000000000000000000000000000000000000000000000063ab0b23",12"to": "0xbc930e661334d958e7bda3b126ce0666c353c4ef",13"type": "STATICCALL"14},15{16"from": "0x10ed43c718714eb63d5aa57b78b54704e256024e",17"gas": "0x2299d",18"gasUsed": "0x5892",19"input": "0xd0e30db0",20"to": "0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c",21"type": "CALL",22"value": "0xde0b6b3a7640000"23},24{25"from": "0x10ed43c718714eb63d5aa57b78b54704e256024e",26"gas": "0x1c916",27"gasUsed": "0x2ad2",28"input": "0xa9059cbb000000000000000000000000bc930e661334d958e7bda3b126ce0666c353c4ef0000000000000000000000000000000000000000000000000de0b6b3a7640000",29"output": "0x0000000000000000000000000000000000000000000000000000000000000001",30"to": "0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c",31"type": "CALL",32"value": "0x0"33},34{35"calls": [36{37"calls": [38{39"from": "0x829a20ec98520f9878f49c311565cf4a86ea7cd1",40"gas": "0x145e8",41"gasUsed": "0x605",42"input": "0x70a08231000000000000000000000000bc930e661334d958e7bda3b126ce0666c353c4ef",43"output": "0x00000000000000000000000000000000000000000024ab655459272e0998e938",44"to": "0x58719b1e95094e285439b44a8f3d93d5b65fd9c7",45"type": "STATICCALL"46},47{48"from": "0x829a20ec98520f9878f49c311565cf4a86ea7cd1",49"gas": "0x12939",50"gasUsed": "0x1ddf",51"input": "0xff056949000000000000000000000000bc930e661334d958e7bda3b126ce0666c353c4ef00000000000000000000000000000000000000000000277159899d4e86b1949c",52"to": "0x58719b1e95094e285439b44a8f3d93d5b65fd9c7",53"type": "CALL",54"value": "0x0"55},56{57"from": "0x829a20ec98520f9878f49c311565cf4a86ea7cd1",58"gas": "0xf4c9",59"gasUsed": "0x1da3",60"input": "0x5b86f59900000000000000000000000004e149ed9f356099d235b8402ce7c31f9f207374000000000000000000000000000000000000000000000193e4dc8b698a81fbb4",61"to": "0x58719b1e95094e285439b44a8f3d93d5b65fd9c7",62"type": "CALL",63"value": "0x0"64},65{66"from": "0x829a20ec98520f9878f49c311565cf4a86ea7cd1",67"gas": "0xc247",68"gasUsed": "0x1da3",69"input": "0x5b86f599000000000000000000000000a2c2ea849a07383684eed1123446d2325a56346c0000000000000000000000000000000000000000000025dd74ad11e4fc2f98e8",70"to": "0x58719b1e95094e285439b44a8f3d93d5b65fd9c7",71"type": "CALL",72"value": "0x0"73}74],75"from": "0xbc930e661334d958e7bda3b126ce0666c353c4ef",76"gas": "0x15c76",77"gasUsed": "0xbd5e",78"input": "0xa9059cbb000000000000000000000000a2c2ea849a07383684eed1123446d2325a56346c00000000000000000000000000000000000000000000277159899d4e86b1949c",79"output": "0x0000000000000000000000000000000000000000000000000000000000000001",80"to": "0x829a20ec98520f9878f49c311565cf4a86ea7cd1",81"type": "CALL",82"value": "0x0"83},84{85"calls": [86{87"from": "0x829a20ec98520f9878f49c311565cf4a86ea7cd1",88"gas": "0x8c47",89"gasUsed": "0x605",90"input": "0x70a08231000000000000000000000000bc930e661334d958e7bda3b126ce0666c353c4ef",91"output": "0x0000000000000000000000000000000000000000002483f3facf89df82e7549c",92"to": "0x58719b1e95094e285439b44a8f3d93d5b65fd9c7",93"type": "STATICCALL"94}95],96"from": "0xbc930e661334d958e7bda3b126ce0666c353c4ef",97"gas": "0x9abc",98"gasUsed": "0x1446",99"input": "0x70a08231000000000000000000000000bc930e661334d958e7bda3b126ce0666c353c4ef",100"output": "0x0000000000000000000000000000000000000000002483f3facf89df82e7549c",101"to": "0x829a20ec98520f9878f49c311565cf4a86ea7cd1",102"type": "STATICCALL"103},104{105"from": "0xbc930e661334d958e7bda3b126ce0666c353c4ef",106"gas": "0x806c",107"gasUsed": "0x4d2",108"input": "0x70a08231000000000000000000000000bc930e661334d958e7bda3b126ce0666c353c4ef",109"output": "0x00000000000000000000000000000000000000000000000cdeb24eaa7da294cc",110"to": "0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c",111"type": "STATICCALL"112}113],114"from": "0x10ed43c718714eb63d5aa57b78b54704e256024e",115"gas": "0x19252",116"gasUsed": "0x18c8a",117"input": "0x022c0d9f00000000000000000000000000000000000000000000277159899d4e86b1949c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a2c2ea849a07383684eed1123446d2325a56346c00000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000",118"to": "0xbc930e661334d958e7bda3b126ce0666c353c4ef",119"type": "CALL",120"value": "0x0"121}122],123"from": "0xa2c2ea849a07383684eed1123446d2325a56346c",124"gas": "0x2cbe4",125"gasUsed": "0x2661a",126"input": "0x7ff36ab500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000a2c2ea849a07383684eed1123446d2325a56346c0000000000000000000000000000000000000000000000000000000063ab323b0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000bb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c000000000000000000000000829a20ec98520f9878f49c311565cf4a86ea7cd1",127"output": "0x000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000de0b6b3a764000000000000000000000000000000000000000000000000277159899d4e86b1949c",128"to": "0x10ed43c718714eb63d5aa57b78b54704e256024e",129"type": "CALL",130"value": "0xde0b6b3a7640000"131}132}
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"calls": [6{7"from": "0x10ed43c718714eb63d5aa57b78b54704e256024e",8"gas": "0x2593f",9"gasUsed": "0xbb1",10"input": "0x0902f1ac",11"output": "0x00000000000000000000000000000000000000000024ab655459272e0998e93800000000000000000000000000000000000000000000000cd0d197f6d63e94cc0000000000000000000000000000000000000000000000000000000063ab0b23",12"to": "0xbc930e661334d958e7bda3b126ce0666c353c4ef",13"type": "STATICCALL"14},15{16"from": "0x10ed43c718714eb63d5aa57b78b54704e256024e",17"gas": "0x2299d",18"gasUsed": "0x5892",19"input": "0xd0e30db0",20"to": "0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c",21"type": "CALL",22"value": "0xde0b6b3a7640000"23},24{25"from": "0x10ed43c718714eb63d5aa57b78b54704e256024e",26"gas": "0x1c916",27"gasUsed": "0x2ad2",28"input": "0xa9059cbb000000000000000000000000bc930e661334d958e7bda3b126ce0666c353c4ef0000000000000000000000000000000000000000000000000de0b6b3a7640000",29"output": "0x0000000000000000000000000000000000000000000000000000000000000001",30"to": "0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c",31"type": "CALL",32"value": "0x0"33},34{35"calls": [36{37"calls": [38{39"from": "0x829a20ec98520f9878f49c311565cf4a86ea7cd1",40"gas": "0x145e8",41"gasUsed": "0x605",42"input": "0x70a08231000000000000000000000000bc930e661334d958e7bda3b126ce0666c353c4ef",43"output": "0x00000000000000000000000000000000000000000024ab655459272e0998e938",44"to": "0x58719b1e95094e285439b44a8f3d93d5b65fd9c7",45"type": "STATICCALL"46},47{48"from": "0x829a20ec98520f9878f49c311565cf4a86ea7cd1",49"gas": "0x12939",50"gasUsed": "0x1ddf",51"input": "0xff056949000000000000000000000000bc930e661334d958e7bda3b126ce0666c353c4ef00000000000000000000000000000000000000000000277159899d4e86b1949c",52"to": "0x58719b1e95094e285439b44a8f3d93d5b65fd9c7",53"type": "CALL",54"value": "0x0"55},56{57"from": "0x829a20ec98520f9878f49c311565cf4a86ea7cd1",58"gas": "0xf4c9",59"gasUsed": "0x1da3",60"input": "0x5b86f59900000000000000000000000004e149ed9f356099d235b8402ce7c31f9f207374000000000000000000000000000000000000000000000193e4dc8b698a81fbb4",61"to": "0x58719b1e95094e285439b44a8f3d93d5b65fd9c7",62"type": "CALL",63"value": "0x0"64},65{66"from": "0x829a20ec98520f9878f49c311565cf4a86ea7cd1",67"gas": "0xc247",68"gasUsed": "0x1da3",69"input": "0x5b86f599000000000000000000000000a2c2ea849a07383684eed1123446d2325a56346c0000000000000000000000000000000000000000000025dd74ad11e4fc2f98e8",70"to": "0x58719b1e95094e285439b44a8f3d93d5b65fd9c7",71"type": "CALL",72"value": "0x0"73}74],75"from": "0xbc930e661334d958e7bda3b126ce0666c353c4ef",76"gas": "0x15c76",77"gasUsed": "0xbd5e",78"input": "0xa9059cbb000000000000000000000000a2c2ea849a07383684eed1123446d2325a56346c00000000000000000000000000000000000000000000277159899d4e86b1949c",79"output": "0x0000000000000000000000000000000000000000000000000000000000000001",80"to": "0x829a20ec98520f9878f49c311565cf4a86ea7cd1",81"type": "CALL",82"value": "0x0"83},84{85"calls": [86{87"from": "0x829a20ec98520f9878f49c311565cf4a86ea7cd1",88"gas": "0x8c47",89"gasUsed": "0x605",90"input": "0x70a08231000000000000000000000000bc930e661334d958e7bda3b126ce0666c353c4ef",91"output": "0x0000000000000000000000000000000000000000002483f3facf89df82e7549c",92"to": "0x58719b1e95094e285439b44a8f3d93d5b65fd9c7",93"type": "STATICCALL"94}95],96"from": "0xbc930e661334d958e7bda3b126ce0666c353c4ef",97"gas": "0x9abc",98"gasUsed": "0x1446",99"input": "0x70a08231000000000000000000000000bc930e661334d958e7bda3b126ce0666c353c4ef",100"output": "0x0000000000000000000000000000000000000000002483f3facf89df82e7549c",101"to": "0x829a20ec98520f9878f49c311565cf4a86ea7cd1",102"type": "STATICCALL"103},104{105"from": "0xbc930e661334d958e7bda3b126ce0666c353c4ef",106"gas": "0x806c",107"gasUsed": "0x4d2",108"input": "0x70a08231000000000000000000000000bc930e661334d958e7bda3b126ce0666c353c4ef",109"output": "0x00000000000000000000000000000000000000000000000cdeb24eaa7da294cc",110"to": "0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c",111"type": "STATICCALL"112}113],114"from": "0x10ed43c718714eb63d5aa57b78b54704e256024e",115"gas": "0x19252",116"gasUsed": "0x18c8a",117"input": "0x022c0d9f00000000000000000000000000000000000000000000277159899d4e86b1949c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a2c2ea849a07383684eed1123446d2325a56346c00000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000000",118"to": "0xbc930e661334d958e7bda3b126ce0666c353c4ef",119"type": "CALL",120"value": "0x0"121}122],123"from": "0xa2c2ea849a07383684eed1123446d2325a56346c",124"gas": "0x2cbe4",125"gasUsed": "0x2661a",126"input": "0x7ff36ab500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000a2c2ea849a07383684eed1123446d2325a56346c0000000000000000000000000000000000000000000000000000000063ab323b0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000bb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c000000000000000000000000829a20ec98520f9878f49c311565cf4a86ea7cd1",127"output": "0x000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000de0b6b3a764000000000000000000000000000000000000000000000000277159899d4e86b1949c",128"to": "0x10ed43c718714eb63d5aa57b78b54704e256024e",129"type": "CALL",130"value": "0xde0b6b3a7640000"131}132}