{s}omniamarkets

@somnia-chain/markets-sdk


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

Interface: TailStatus

Defined in: store.ts:59

Properties

mode

mode: TailMode

Defined in: store.ts:61

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


snapshotBlock

snapshotBlock: number

Defined in: store.ts:64

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


lastBlock

lastBlock: number

Defined in: store.ts:66

Highest block the local tail has materialized


headBlock

headBlock: number

Defined in: store.ts:68

Latest chain head observed over the WS


wsConnected

wsConnected: boolean

Defined in: store.ts:70

Whether the chain WS subscriptions are currently delivering


watchCount

watchCount: number

Defined in: store.ts:73

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.