Skip to content

@armada/sdk / index / QuickSyncTelemetry

Interface: QuickSyncTelemetry

Defined in: src/sdk.ts:129

Quick-sync observability payload emitted through the telemetry sink (SPEC §8-safe: block numbers + booleans only).

Properties

outcome

readonly outcome: "served" | "root-mismatch-fallback"

Defined in: src/sdk.ts:132

served = the indexer batch verified against the on-chain root; root-mismatch-fallback = it didn't, so the batch was discarded and the range re-scanned from RPC (truth).


fromBlock

readonly fromBlock: number

Defined in: src/sdk.ts:133


readonly head: number

Defined in: src/sdk.ts:134


tailCovered

readonly tailCovered: boolean

Defined in: src/sdk.ts:136

On the served path: the indexer lagged the chain head and RPC covered the tail. Always false on fallback.


reason?

readonly optional reason?: QuickSyncReason

Defined in: src/sdk.ts:138

Set only on fallback: the classified cause of the discard (SPEC §8-safe — an enum, no PII).


status?

readonly optional status?: number

Defined in: src/sdk.ts:140

Set only for an indexer-http-error fallback: the non-OK HTTP status the indexer returned.