Parameters
- blockHashstring
The hash of the block to be traced
- objectobjectREQUIRED
The tracer object with the following fields:
- tracerstring
The type of tracer. It could be callTracer, prestateTracer or stylusTracer
- callTracer
The calltracer keeps track of all call frames, including depth 0 calls, that are made during a transaction
- prestateTracer
The prestateTracer replays the transaction and tracks every part of state that occured during the transaction
- stylusTracer
The stylusTracer is specific to Arbitrum for tracing Stylus contracts
- 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
Returns
- result
The result object which contains the following fields:
- txHash
The hash of the transaction being traced
- result
An object containing detailed information about the traced transaction
- beforeEVMTransfers
An array representing EVM transfers that occurred before the execution of the transaction
- purpose
(Optional) The purpose of the EVM transfer
- from
(Optional) The Ethereum address initiating the transfer
- to
(Optional) The Ethereum address receiving the transfer
- value
(Optional) The value of the transfer, specified in hexadecimal format (Wei)
- afterEVMTransfers
An array representing EVM transfers that occurred after the execution of the transaction
- purpose
(Optional) The purpose of the EVM transfer
- from
(Optional) The Ethereum address initiating the transfer
- to
(Optional) The Ethereum address receiving the transfer
- value
(Optional) The value of the transfer, specified in hexadecimal format (Wei)
- from
The address the transaction is sent from
- gas
The integer of the gas provided for the transaction execution
- gasUsed
The integer of the gas used
- to
The address the transaction is directed to
- input
The data given at the time of input
- calls
An array containing information about internal calls made during the transaction
- from
The address making the call
- gas
The gas limit specified for the call
- gasUsed
The amount of gas used during the call
- to
The address being called
- input
The input data for the call
- output
(Optional) The output data of the call
- value
The value (in Wei) sent with the call
- type
The type of call (e.g., CALL or STATICCALL)
- value
The integer of the value sent with this transaction
- type
The type of the call
1{2"jsonrpc": "2.0",3"id": 1,4"result": [5{6"txHash": "0xbb4e355bbc1aac87ab53d7d5c5df65a82995daadd64bf8fd55ee49db74fa2c03",7"result": {8"afterEVMTransfers": [],9"beforeEVMTransfers": [],10"from": "0x00000000000000000000000000000000000a4b05",11"gas": "0x0",12"gasUsed": "0x0",13"input": "0x6bf6a42d000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011d9d9f00000000000000000000000000000000000000000000000000000000095bee140000000000000000000000000000000000000000000000000000000000000000",14"to": "0x00000000000000000000000000000000000a4b05",15"type": "CALL",16"value": "0x0"17}18},19{20"txHash": "0x9adb38acc74dfc528a6bcf2b879424f131f2ec1b01a65b6efc8aeac666ae549c",21"result": {22"afterEVMTransfers": [23{24"from": null,25"purpose": "gasRefund",26"to": "0xAAA3bFb53d5D5116FAeDc5Dd457531f8465f78af",27"value": "0x15b645d7c600"28},29{30"from": null,31"purpose": "feeCollection",32"to": "0xbF5041Fc07E1c866D15c749156657B8eEd0fb649",33"value": "0x700011be600"34},35{36"from": null,37"purpose": "feeCollection",38"to": "0xa4B00000000000000000000000000000000000F6",39"value": "0x34c91e372000"40}41],42"beforeEVMTransfers": [43{44"from": "0xAAA3bFb53d5D5116FAeDc5Dd457531f8465f78af",45"purpose": "feePayment",46"to": null,47"value": "0x517f652acc00"48}49],50"calls": [51{52"from": "0x9011a47a421440a24f55698ec4f2ef97b5f7757f",53"gas": "0x8fc",54"gasUsed": "0x0",55"input": "0x",56"to": "0xaaa3bfb53d5d5116faedc5dd457531f8465f78af",57"type": "CALL",58"value": "0x30a00f4c7cb36c"59}60],61"from": "0xaaa3bfb53d5d5116faedc5dd457531f8465f78af",62"gas": "0xdac4c",63"gasUsed": "0xa07c6",64"input": "0x3ccfd60b",65"to": "0x9011a47a421440a24f55698ec4f2ef97b5f7757f",66"type": "CALL",67"value": "0x0"68}69}70]71}
1{2"jsonrpc": "2.0",3"id": 1,4"result": [5{6"txHash": "0xbb4e355bbc1aac87ab53d7d5c5df65a82995daadd64bf8fd55ee49db74fa2c03",7"result": {8"afterEVMTransfers": [],9"beforeEVMTransfers": [],10"from": "0x00000000000000000000000000000000000a4b05",11"gas": "0x0",12"gasUsed": "0x0",13"input": "0x6bf6a42d000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011d9d9f00000000000000000000000000000000000000000000000000000000095bee140000000000000000000000000000000000000000000000000000000000000000",14"to": "0x00000000000000000000000000000000000a4b05",15"type": "CALL",16"value": "0x0"17}18},19{20"txHash": "0x9adb38acc74dfc528a6bcf2b879424f131f2ec1b01a65b6efc8aeac666ae549c",21"result": {22"afterEVMTransfers": [23{24"from": null,25"purpose": "gasRefund",26"to": "0xAAA3bFb53d5D5116FAeDc5Dd457531f8465f78af",27"value": "0x15b645d7c600"28},29{30"from": null,31"purpose": "feeCollection",32"to": "0xbF5041Fc07E1c866D15c749156657B8eEd0fb649",33"value": "0x700011be600"34},35{36"from": null,37"purpose": "feeCollection",38"to": "0xa4B00000000000000000000000000000000000F6",39"value": "0x34c91e372000"40}41],42"beforeEVMTransfers": [43{44"from": "0xAAA3bFb53d5D5116FAeDc5Dd457531f8465f78af",45"purpose": "feePayment",46"to": null,47"value": "0x517f652acc00"48}49],50"calls": [51{52"from": "0x9011a47a421440a24f55698ec4f2ef97b5f7757f",53"gas": "0x8fc",54"gasUsed": "0x0",55"input": "0x",56"to": "0xaaa3bfb53d5d5116faedc5dd457531f8465f78af",57"type": "CALL",58"value": "0x30a00f4c7cb36c"59}60],61"from": "0xaaa3bfb53d5d5116faedc5dd457531f8465f78af",62"gas": "0xdac4c",63"gasUsed": "0xa07c6",64"input": "0x3ccfd60b",65"to": "0x9011a47a421440a24f55698ec4f2ef97b5f7757f",66"type": "CALL",67"value": "0x0"68}69}70]71}