Interface TraceService

All Superinterfaces:
BesuService

public interface TraceService extends BesuService
The Trace service interface
  • Method Details

    • traceBlock

      BlockTraceResult traceBlock(long blockNumber, BlockAwareOperationTracer tracer)
      Traces a block
      Parameters:
      blockNumber - the block number
      tracer - the tracer (OperationTracer)
      Returns:
      BlockTraceResult the result of the trace
    • traceBlock

      BlockTraceResult traceBlock(org.hyperledger.besu.datatypes.Hash hash, BlockAwareOperationTracer tracer)
      Traces a block by hash
      Parameters:
      hash - the block hash
      tracer - the tracer (OperationTracer)
      Returns:
      BlockTraceResult the result of the trace
    • trace

      void trace(long fromBlockNumber, long toBlockNumber, Consumer<org.hyperledger.besu.evm.worldstate.WorldUpdater> beforeTracing, Consumer<org.hyperledger.besu.evm.worldstate.WorldUpdater> afterTracing, BlockAwareOperationTracer tracer)
      Traces range of blocks
      Parameters:
      fromBlockNumber - the beginning of the range (inclusive)
      toBlockNumber - the end of the range (inclusive)
      beforeTracing - Function which performs an operation on a MutableWorldState before tracing
      afterTracing - Function which performs an operation on a MutableWorldState after tracing
      tracer - an instance of OperationTracer