debug_traceCall
Returns the number of possible tracing results by executing an eth call within the context of the given block execution.
This method will use 40
Compute Units.
Parameters
object
- Object - The transaction call object with the following fields:
from
- String - The address the transaction is sent fromto
- String - Required - The address the transaction is directed togas
- Integer - The integer of the gas provided for the transaction executiongasPrice
- Integer - The integer of the gasPrice used for paid gasvalue
- Integer - The integer of the value sent with this transactiondata
- String - The has of the method signature and encoded parameters
blockReference
- String - Required - The block number in hexadecimal format, the block hash, or tags: "earliest"
, "latest"
or "pending"
.
object
- Object (Optional) - The tracer object with the following fields:
tracer
- String - The type of tracer, options are:callTracer
orprestateTracer
.callTracer
- String - The callTracer keeps track of all call frames, including depth - calls, that are made during a transaction.prestateTracer
- String - The prestateTracer replays the transaction and tracks every part of state that occurred during the transaction.
tracerConfig
- Object (Optional) - The object to specify the configurations of the tracer.onlyTopCall
- Boolean - 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 array of transaction objects for that block, each containing:
txHash
- The transaction hash of the transactionresult
- An object containing detailed information about the traced transactionbeforeEVMTransfers
- An array representing EVM transfers that occurred before the execution of the transactionpurpose
- (Optional) The purpose of the EVM transferfrom
- (Optional) The Ethereum address initiating the transferto
- (Optional) The Ethereum address receiving the transfervalue
- (Optional) The value of the transfer, specified in hexadecimal format (Wei)
afterEVMTransfers
- An array representing EVM transfers that occurred after the execution of the transactionOptional fields are the same as
beforeEVMTransfers
above
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.value
- The integer of the value sent with this transaction.type
- The type of call.
calls
- A list of sub-calls.
Last updated