Skip to content

@armada/sdk / index / QuickSyncTelemetry

Interface: QuickSyncTelemetry ​

Defined in: src/chain/sync-rules.ts:15

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/chain/sync-rules.ts:18

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/chain/sync-rules.ts:19


readonly head: number

Defined in: src/chain/sync-rules.ts:20


tailCovered ​

readonly tailCovered: boolean

Defined in: src/chain/sync-rules.ts:22

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/chain/sync-rules.ts:24

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/chain/sync-rules.ts:26

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