{s}omniamarkets

@somnia-chain/markets-sdk


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

Interface: TailStatus

Defined in: store.ts:73

Live-tail health snapshot — how current the store's getLive* reads are: block coverage (snapshot/last/head), socket state, and active watch count.

Properties

mode

mode: TailMode

Defined in: store.ts:75

Current data-source mode ("init" until the first watch is hydrated).


snapshotBlock

snapshotBlock: number

Defined in: store.ts:80

Block the most recent indexer snapshot was consistent to (a watch's seam covers snapshotBlock+1..)


lastBlock

lastBlock: number

Defined in: store.ts:82

Highest block the local tail has materialized


headBlock

headBlock: number

Defined in: store.ts:84

Latest chain head observed over the WS


wsConnected

wsConnected: boolean

Defined in: store.ts:86

Whether the chain WS subscriptions are currently delivering


watchCount

watchCount: number

Defined in: store.ts:91

Active market watches (pools currently subscribed, incl. an all-markets watch's set). 0 → the tail is idle and no socket is held for it.