@somnia-chain/markets-sdk / index / IndexerSyncStatus
Type Alias: IndexerSyncStatus
IndexerSyncStatus =
object
Defined in: packages/sdk/src/syncStatus.ts:19
The indexer's own sync state for one chain (envio chain_metadata). These self-reported
heights can freeze together. Use IndexerFreshness for independent lag.
Properties
chainId
chainId:
number
Defined in: packages/sdk/src/syncStatus.ts:21
Chain id the row describes.
latestProcessedBlock
latestProcessedBlock:
number|null
Defined in: packages/sdk/src/syncStatus.ts:23
Last block the indexer fully processed; null before the first block lands.
blockHeight
blockHeight:
number|null
Defined in: packages/sdk/src/syncStatus.ts:25
Chain head height as the indexer last saw it; null until first fetched.
numEventsProcessed
numEventsProcessed:
number|null
Defined in: packages/sdk/src/syncStatus.ts:31
Lifetime count of events the indexer has processed on this chain. null on
the rare row where envio has not populated the counter yet — Hasura declares
the column nullable, so this is the wire's shape, not a defensive guess.