Parameters
- objectobjectREQUIRED
The transaction call object with the following fields:
- fromstring
The address the transaction is sent from
- tostringREQUIRED
The address the transaction is directed to
- gasstring
The integer of the gas provided for the transaction execution
- maxFeePerGasstring
The maximum fee per gas that the transaction is willing to pay
- maxPriorityFeePerGasstring
The maximum priority fee per gas that the transaction is willing to pay
- valuestring
The integer of the value sent with this transaction
- inputstring
The data given at the time of input
- datastring
The hash of the method signature and encoded parameters
- noncestring
The number of transactions made by the sender prior to this one
- chainIdstring
The chain ID of the network
- accessListarray
A list of addresses and storage keys that the transaction plans to access
- blockReferencestringREQUIRED
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
- 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
- timeoutstring
A string of decimal integers that overrides the JavaScript-based tracing calls default timeout of 5 seconds.
Returns
- resultobject
The result object which contains the following fields:
- 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"beforeEVMTransfers": [6{7"purpose": "feePayment",8"from": "0x3a81867Dd8E264A6eb63Dec701E531B5537d5969",9"to": null,10"value": "0x0"11}12],13"afterEVMTransfers": [14{15"purpose": "gasRefund",16"from": null,17"to": "0x3a81867Dd8E264A6eb63Dec701E531B5537d5969",18"value": "0x0"19},20{21"purpose": "feeCollection",22"from": null,23"to": "0x5a2B80a9b7effc06129bD5462D77BC20A8A59BE7",24"value": "0x6380a41800"25},26{27"purpose": "feeCollection",28"from": null,29"to": "0xbC5C3a7Adecf54D34169fd90dbD1B7d3142DF067",30"value": "0x28c1980"31},32{33"purpose": "feeCollection",34"from": null,35"to": "0xa4B00000000000000000000000000000000000F6",36"value": "0xe0e189c20"37}38],39"from": "0x3a81867dd8e264a6eb63dec701e531b5537d5969",40"gas": "0x23c352f8",41"gasUsed": "0x5f42",42"to": "0x3a81867dd8e264a6eb63dec701e531b5537d5969",43"input": "0xffa1ad74",44"output": "0x0000000000000000000000000000000000000000000000000000000001352701",45"value": "0x0",46"type": "CALL"47}48}
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"beforeEVMTransfers": [6{7"purpose": "feePayment",8"from": "0x3a81867Dd8E264A6eb63Dec701E531B5537d5969",9"to": null,10"value": "0x0"11}12],13"afterEVMTransfers": [14{15"purpose": "gasRefund",16"from": null,17"to": "0x3a81867Dd8E264A6eb63Dec701E531B5537d5969",18"value": "0x0"19},20{21"purpose": "feeCollection",22"from": null,23"to": "0x5a2B80a9b7effc06129bD5462D77BC20A8A59BE7",24"value": "0x6380a41800"25},26{27"purpose": "feeCollection",28"from": null,29"to": "0xbC5C3a7Adecf54D34169fd90dbD1B7d3142DF067",30"value": "0x28c1980"31},32{33"purpose": "feeCollection",34"from": null,35"to": "0xa4B00000000000000000000000000000000000F6",36"value": "0xe0e189c20"37}38],39"from": "0x3a81867dd8e264a6eb63dec701e531b5537d5969",40"gas": "0x23c352f8",41"gasUsed": "0x5f42",42"to": "0x3a81867dd8e264a6eb63dec701e531b5537d5969",43"input": "0xffa1ad74",44"output": "0x0000000000000000000000000000000000000000000000000000000001352701",45"value": "0x0",46"type": "CALL"47}48}