@somnia-chain/markets-sdk / index / IndexerFreshness
Type Alias: IndexerFreshness
IndexerFreshness =
IndexerSyncStatus&object
Defined in: packages/sdk/src/syncStatus.ts:87
Indexer metadata compared to an independently requested chain head.
Type Declaration
independentHead
readonlyindependentHead:IndependentHead
Independent RPC observation. RPC recency itself is not asserted.
processedBlockTimestamp
readonlyprocessedBlockTimestamp:bigint|null
Processed block's Unix time; null when the processed height is unknown.
lagBlocks
readonlylagBlocks:bigint|null
Independent head minus processed height, clamped to zero.
lagSeconds
readonlylagSeconds:bigint|null
Difference between chain timestamps in seconds, clamped to zero.
reportedLagBlocks
readonlyreportedLagBlocks:bigint|null
Indexer's own reported head minus processed height, clamped to zero.
observedAt
readonlyobservedAt:number
Wall-clock completion time in milliseconds.