import type { Hex } from '../common/index.js'; import type { BaseParams } from './BaseParams.js'; import type { EthCallParams } from './EthParams.js'; /** * Config params for trace calls */ export type TraceParams = { /** * The type of tracer * Currently only callTracer supported */ readonly tracer: 'callTracer' | 'prestateTracer'; /** * A duration string of decimal numbers that overrides the default timeout of 5 seconds for JavaScript-based tracing calls. Max timeout is "10s". Valid time units are "ns", "us", "ms", "s" each with optional fraction, such as "300ms" or "2s45ms". * @example "10s" */ readonly timeout?: string; /** * object to specify configurations for the tracer */ readonly tracerConfig?: {}; }; /** * Params taken by `debug_traceTransaction` handler */ export type DebugTraceTransactionParams = BaseParams & TraceParams & { /** * The transaction hash */ readonly transactionHash: Hex; }; /** * Params taken by `debug_traceCall` handler */ export type DebugTraceCallParams = TraceParams & EthCallParams; //# sourceMappingURL=DebugParams.d.ts.map