Parameters
- blockNumberstringREQUIRED
The block number as a string in hexadecimal format or tags. The supported tag values include earliest for the earliest/genesis block, latest for the latest mined block, pending for the pending state/transactions, safe for the most recent secure block, and finalized for the most recent secure block accepted by more than 2/3 of validators
- 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
Returns
- resultarray
An array of result objects with the following fields:
- resultobject
A result array with the following fields:
- callsarray
A list of sub-calls
- fromstring
The address from which the tokens are transferred.
- gasstring
The gas limit or maximum amount of gas that can be used for executing the transaction
- gasUsedstring
The gas used by the transaction
- inputstring
The data or input parameters for the transaction, typically encoded as hexadecimal
- tostring
The address to which the tokens are transferred
- typestring
The type of token (ERC-20, ERC-721 or ERC-1155 etc)
- valuestring
The token value
- 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
- inputstring
The data given at the time of input
- tostring
The address the transaction is directed to
- typestring
The type of the call
- valuestring
The integer of the value sent with this transaction
- txHashstring
The hash of the transaction being traced
1{2"jsonrpc": "2.0",3"result": [4{5"result": {6"calls": [7{8"from": "0x4200000000000000000000000000000000000015",9"gas": "0xe9b75",10"gasUsed": "0x4889",11"input": "0x098999be00000558000c5fc50000000000000002000000006887e1040000000000873e7500000000000000000000000000000000000000000000000000000000000091ce000000000000000000000000000000000000000000000000000000000000000106b6fdd685cb71ce9bb57ba7ef82e4c4d62d8432dfc969788a4bae3935d3dec50000000000000000000000001caaaa58002a7e8b4c6f427ac2c943767b4d6cd7000000000000000000000000",12"to": "0xff256497d61dcd71a9e9ff43967c13fde1f72d12",13"type": "DELEGATECALL",14"value": "0x0"15}16],17"from": "0xdeaddeaddeaddeaddeaddeaddeaddeaddead0001",18"gas": "0xf4240",19"gasUsed": "0xb41c",20"input": "0x098999be00000558000c5fc50000000000000002000000006887e1040000000000873e7500000000000000000000000000000000000000000000000000000000000091ce000000000000000000000000000000000000000000000000000000000000000106b6fdd685cb71ce9bb57ba7ef82e4c4d62d8432dfc969788a4bae3935d3dec50000000000000000000000001caaaa58002a7e8b4c6f427ac2c943767b4d6cd7000000000000000000000000",21"to": "0x4200000000000000000000000000000000000015",22"type": "CALL",23"value": "0x0"24},25"txHash": "0x79b524d4305dfa348d3525b9da01239fed53ad4d645f3bc136bfe3e2b39ef779"26}27],28"id": 129}
1{2"jsonrpc": "2.0",3"result": [4{5"result": {6"calls": [7{8"from": "0x4200000000000000000000000000000000000015",9"gas": "0xe9b75",10"gasUsed": "0x4889",11"input": "0x098999be00000558000c5fc50000000000000002000000006887e1040000000000873e7500000000000000000000000000000000000000000000000000000000000091ce000000000000000000000000000000000000000000000000000000000000000106b6fdd685cb71ce9bb57ba7ef82e4c4d62d8432dfc969788a4bae3935d3dec50000000000000000000000001caaaa58002a7e8b4c6f427ac2c943767b4d6cd7000000000000000000000000",12"to": "0xff256497d61dcd71a9e9ff43967c13fde1f72d12",13"type": "DELEGATECALL",14"value": "0x0"15}16],17"from": "0xdeaddeaddeaddeaddeaddeaddeaddeaddead0001",18"gas": "0xf4240",19"gasUsed": "0xb41c",20"input": "0x098999be00000558000c5fc50000000000000002000000006887e1040000000000873e7500000000000000000000000000000000000000000000000000000000000091ce000000000000000000000000000000000000000000000000000000000000000106b6fdd685cb71ce9bb57ba7ef82e4c4d62d8432dfc969788a4bae3935d3dec50000000000000000000000001caaaa58002a7e8b4c6f427ac2c943767b4d6cd7000000000000000000000000",21"to": "0x4200000000000000000000000000000000000015",22"type": "CALL",23"value": "0x0"24},25"txHash": "0x79b524d4305dfa348d3525b9da01239fed53ad4d645f3bc136bfe3e2b39ef779"26}27],28"id": 129}