Parameters
- StartBlockstringREQUIRED
The block number at which to begin tracing
- EndBlockstringREQUIRED
The block number at which to end tracing
- objectobject
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
- resultobject
This field contains an object with the results of the block tracing for each block number in the specified range
- blockstring
The hexadecimal representation of the block number
- hashstring
The unique hash of the block. Each block in the blockchain is uniquely identified by its hash
- tracesstring
An array of trace steps for the transaction