Skip to content

TraceParams

TraceParams: object

Config params for trace calls

Type declaration

timeout?

optional readonly timeout: string

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"

tracer

readonly tracer: "callTracer" | "prestateTracer"

The type of tracer Currently only callTracer supported

tracerConfig?

optional readonly tracerConfig: object

object to specify configurations for the tracer

Source

packages/actions/src/debug/DebugParams.ts:8