Skip to content

ClearSignEvent

ClearSignEvent = { kind: ClearSignKind; type: "decode:start"; } | { confidence: Confidence; durationMs: number; kind: ClearSignKind; source: DecodeSource; type: "decode:end"; } | { durationMs: number; path: string; type: "registry:fetch"; } | { path: string; type: "registry:cache-hit"; } | { address?: string; chainId?: number; type: "registry:miss"; } | { reasons: TrustReasonCode[]; type: "trust:accepted"; } | { reasons: TrustReasonCode[]; type: "trust:rejected"; } | { type: "warning:emitted"; warningType: SecurityWarningType; }

Defined in: packages/sdk/src/decode/types.ts:155

Observability events from one decode. Nested decodes emit their own events on the same onEvent callback.