Parameters
- objectobject
The transaction call object with the following fields:
- fromstring
The initiating Ethereum address for the transfer, which will be null if not applicable
- tostring
The address the transaction is directed to, which will be null if not applicable
- gasinteger
The integer of the gas provided for the transaction execution
- gasPriceinteger
The integer of the gasPrice used for each paid gas
- valueinteger
The integer of the value sent with this transaction
- datastring
The hash of the method signature and encoded parameters
- blockReferencestring
The block number in hexadecimal format, the block hash, 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, 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
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
A list of sub-calls, if any
- 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"beforeEVMTransfers": [6{7"purpose": "feePayment",8"from": "0x0000000000000000000000000000000000000000",9"to": null,10"value": "0x0"11}12],13"afterEVMTransfers": [14{15"purpose": "gasRefund",16"from": null,17"to": "0x0000000000000000000000000000000000000000",18"value": "0x0"19},20{21"purpose": "feeCollection",22"from": null,23"to": "0xbF5041Fc07E1c866D15c749156657B8eEd0fb649",24"value": "0x642c4d6800"25},26{27"purpose": "feeCollection",28"from": null,29"to": "0x32e7AF5A8151934F3787d0cD59EB6EDd0a736b1d",30"value": "0x6e453f80"31},32{33"purpose": "feeCollection",34"from": null,35"to": "0xa4B00000000000000000000000000000000000F6",36"value": "0x6cf26950"37}38],39"from": "0x0000000000000000000000000000000000000000",40"gas": "0x23c34665",41"gasUsed": "0x5463",42"to": "0x16b5856dbc2f66d6dc5b361b0073f51ed5ffb52b",43"input": "0x727fa213619edc134b3c8b36e117a4b8e95cb5f7cd2330eab81aa241346ebe07",44"value": "0x0",45"type": "CALL"46}47}
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"beforeEVMTransfers": [6{7"purpose": "feePayment",8"from": "0x0000000000000000000000000000000000000000",9"to": null,10"value": "0x0"11}12],13"afterEVMTransfers": [14{15"purpose": "gasRefund",16"from": null,17"to": "0x0000000000000000000000000000000000000000",18"value": "0x0"19},20{21"purpose": "feeCollection",22"from": null,23"to": "0xbF5041Fc07E1c866D15c749156657B8eEd0fb649",24"value": "0x642c4d6800"25},26{27"purpose": "feeCollection",28"from": null,29"to": "0x32e7AF5A8151934F3787d0cD59EB6EDd0a736b1d",30"value": "0x6e453f80"31},32{33"purpose": "feeCollection",34"from": null,35"to": "0xa4B00000000000000000000000000000000000F6",36"value": "0x6cf26950"37}38],39"from": "0x0000000000000000000000000000000000000000",40"gas": "0x23c34665",41"gasUsed": "0x5463",42"to": "0x16b5856dbc2f66d6dc5b361b0073f51ed5ffb52b",43"input": "0x727fa213619edc134b3c8b36e117a4b8e95cb5f7cd2330eab81aa241346ebe07",44"value": "0x0",45"type": "CALL"46}47}