{s}omniamarkets

@somnia-chain/markets-sdk


@somnia-chain/markets-sdk / index / IndexerSyncStatus

Type Alias: IndexerSyncStatus

IndexerSyncStatus = object

Defined in: query.ts:1536

The indexer's own sync state for one chain (envio chain_metadata). Compare latestProcessedBlock to blockHeight to gauge indexer lag.

Properties

chainId

chainId: number

Defined in: query.ts:1538

Chain id the row describes.


latestProcessedBlock

latestProcessedBlock: number | null

Defined in: query.ts:1540

Last block the indexer fully processed; null before the first block lands.


blockHeight

blockHeight: number | null

Defined in: query.ts:1542

Chain head height as the indexer last saw it; null until first fetched.


numEventsProcessed

numEventsProcessed: number

Defined in: query.ts:1544

Lifetime count of events the indexer has processed on this chain.