@somnia-chain/markets-sdk


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

Interface: ExchangeDataStatus

Defined in: packages/sdk/src/unified/exchange.ts:17

Opt-in mixed-tier status; each data source retains its own verdict.

Extends

Properties

status

status: "error" | "ok" | "connecting"

Defined in: packages/sdk/src/unified/exchange.ts:8

Existing chain-tail verdict only; no indexer or price threshold is inferred.

Inherited from

ExchangeStatus.status


updated

updated: number

Defined in: packages/sdk/src/unified/exchange.ts:10

Wall-clock completion time, in milliseconds.

Inherited from

ExchangeStatus.updated


info

info: TailStatus

Defined in: packages/sdk/src/unified/exchange.ts:12

The PRIMARY chain's live-tail snapshot (watch count, socket + resync state).

Inherited from

ExchangeStatus.info


byChain

byChain: Record<number, TailStatus>

Defined in: packages/sdk/src/unified/exchange.ts:14

Every configured chain's live-tail status, keyed by chain id.

Inherited from

ExchangeStatus.byChain


indexer

indexer: IndexerFreshness | null

Defined in: packages/sdk/src/unified/exchange.ts:19

The PRIMARY chain's raw independently measured indexer lag; null when no metadata row exists.


indexerByChain

indexerByChain: Record<number, IndexerFreshness | null>

Defined in: packages/sdk/src/unified/exchange.ts:21

Every configured chain's indexer lag, keyed by chain id.


prices

prices: object[]

Defined in: packages/sdk/src/unified/exchange.ts:23

Every asset with price state, independently classified.

asset

asset: string

health

health: PriceFeedHealth