Parameters
- blockHashstringREQUIRED
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 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 occurred 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
Returns
- resultarray
The result object which contains the following fields:
- txHashstring
The hash of the transaction being traced
- resultobject
An object containing detailed information about the traced transaction
- beforeEVMTransfersarray
An array representing EVM transfers that occurred before the execution of the transaction
- purposestring
(Optional) The purpose of the EVM transfer
- fromstring
(Optional) The Ethereum address initiating the transfer
- tostring
(Optional) The Ethereum address receiving the transfer
- valuestring
(Optional) The value of the transfer, specified in hexadecimal format (Wei)
- afterEVMTransfersarray
An array representing EVM transfers that occurred after the execution of the transaction
- purposestring
(Optional) The purpose of the EVM transfer
- fromstring
(Optional) The Ethereum address initiating the transfer
- tostring
(Optional) The Ethereum address receiving the transfer
- valuestring
(Optional) The value of the transfer, specified in hexadecimal format (Wei)
- 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
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)
- 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{6"txHash": "0xd9e9fb6a2e4ecd022f80a4957ac98f590152326f0e147850d000938f431c190c",7"result": {8"afterEVMTransfers": [],9"beforeEVMTransfers": [],10"calls": [11{12"calls": [13{14"from": "0x0000f90827f1c53a10cb7a02335b175320002935",15"gas": "0x1c29238",16"gasUsed": "0x323",17"input": "0xa3b1b31d",18"output": "0x0000000000000000000000000000000000000000000000000000000000181f92",19"to": "0x0000000000000000000000000000000000000064",20"type": "STATICCALL"21}22],23"from": "0xfffffffffffffffffffffffffffffffffffffffe",24"gas": "0x1c9c380",25"gasUsed": "0x212c",26"input": "0x03368aed4e26cd9ef8289034029fe53477c834d27ad229c36598a7338edafbd2",27"to": "0x0000f90827f1c53a10cb7a02335b175320002935",28"type": "CALL",29"value": "0x0"30}31],32"from": "0x00000000000000000000000000000000000a4b05",33"gas": "0x0",34"gasUsed": "0x0",35"input": "0x6bf6a42d000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030386330000000000000000000000000000000000000000000000000000000000181f920000000000000000000000000000000000000000000000000000000000000000",36"to": "0x00000000000000000000000000000000000a4b05",37"type": "CALL",38"value": "0x0"39}40},41{42"txHash": "0x5b40f41726f5fcfc5b89d369fb57696d31380ebe9b41cd8976aa7bdda65c31a4",43"result": {44"afterEVMTransfers": [45{46"from": null,47"purpose": "gasRefund",48"to": "0x54Bf055108F9Af5dA4f4DFe2EdA125842Acae622",49"value": "0xbf3ab487150"50},51{52"from": null,53"purpose": "tip",54"to": "0x6CBb552855CE5Eb70af49B76a8048be8E3799A05",55"value": "0x1806e8101b0"56},57{58"from": null,59"purpose": "feeCollection",60"to": "0x6CBb552855CE5Eb70af49B76a8048be8E3799A05",61"value": "0x2f9199f9100"62},63{64"from": null,65"purpose": "feeCollection",66"to": "0xa4B00000000000000000000000000000000000F6",67"value": "0x0"68}69],70"beforeEVMTransfers": [71{72"from": "0x54Bf055108F9Af5dA4f4DFe2EdA125842Acae622",73"purpose": "feePayment",74"to": null,75"value": "0x106d33690400"76}77],78"from": "0x54bf055108f9af5da4f4dfe2eda125842acae622",79"gas": "0x1d4c0",80"gasUsed": "0x7fb1",81"input": "0x005e7c42e4464686e518cf3b3b37478f6d60600000000000000001a1b22ab60f00377b2bde7b7b0000000000000000000000000000000000000001a1b22ab60f0102d9167ca3a30000000000000000000000000000000000000001a1b22ab60f02",82"to": "0xe844701934d9c6085b292e428f41b911cc0b3872",83"type": "CALL",84"value": "0x0"85}86}87]88}
1{2"jsonrpc": "2.0",3"id": 1,4"result": [5{6"txHash": "0xd9e9fb6a2e4ecd022f80a4957ac98f590152326f0e147850d000938f431c190c",7"result": {8"afterEVMTransfers": [],9"beforeEVMTransfers": [],10"calls": [11{12"calls": [13{14"from": "0x0000f90827f1c53a10cb7a02335b175320002935",15"gas": "0x1c29238",16"gasUsed": "0x323",17"input": "0xa3b1b31d",18"output": "0x0000000000000000000000000000000000000000000000000000000000181f92",19"to": "0x0000000000000000000000000000000000000064",20"type": "STATICCALL"21}22],23"from": "0xfffffffffffffffffffffffffffffffffffffffe",24"gas": "0x1c9c380",25"gasUsed": "0x212c",26"input": "0x03368aed4e26cd9ef8289034029fe53477c834d27ad229c36598a7338edafbd2",27"to": "0x0000f90827f1c53a10cb7a02335b175320002935",28"type": "CALL",29"value": "0x0"30}31],32"from": "0x00000000000000000000000000000000000a4b05",33"gas": "0x0",34"gasUsed": "0x0",35"input": "0x6bf6a42d000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030386330000000000000000000000000000000000000000000000000000000000181f920000000000000000000000000000000000000000000000000000000000000000",36"to": "0x00000000000000000000000000000000000a4b05",37"type": "CALL",38"value": "0x0"39}40},41{42"txHash": "0x5b40f41726f5fcfc5b89d369fb57696d31380ebe9b41cd8976aa7bdda65c31a4",43"result": {44"afterEVMTransfers": [45{46"from": null,47"purpose": "gasRefund",48"to": "0x54Bf055108F9Af5dA4f4DFe2EdA125842Acae622",49"value": "0xbf3ab487150"50},51{52"from": null,53"purpose": "tip",54"to": "0x6CBb552855CE5Eb70af49B76a8048be8E3799A05",55"value": "0x1806e8101b0"56},57{58"from": null,59"purpose": "feeCollection",60"to": "0x6CBb552855CE5Eb70af49B76a8048be8E3799A05",61"value": "0x2f9199f9100"62},63{64"from": null,65"purpose": "feeCollection",66"to": "0xa4B00000000000000000000000000000000000F6",67"value": "0x0"68}69],70"beforeEVMTransfers": [71{72"from": "0x54Bf055108F9Af5dA4f4DFe2EdA125842Acae622",73"purpose": "feePayment",74"to": null,75"value": "0x106d33690400"76}77],78"from": "0x54bf055108f9af5da4f4dfe2eda125842acae622",79"gas": "0x1d4c0",80"gasUsed": "0x7fb1",81"input": "0x005e7c42e4464686e518cf3b3b37478f6d60600000000000000001a1b22ab60f00377b2bde7b7b0000000000000000000000000000000000000001a1b22ab60f0102d9167ca3a30000000000000000000000000000000000000001a1b22ab60f02",82"to": "0xe844701934d9c6085b292e428f41b911cc0b3872",83"type": "CALL",84"value": "0x0"85}86}87]88}