Skip to main content
Room ID: lighthouse
Endpoint: wss://staging-api.struct.to/ws
Live lighthouse feed: per-protocol activity metrics across lighthouse timeframes. You receive at most one update per selected chain per interval, carrying the latest snapshot for its requested timeframes.

Subscribe

Choose one or more chains, a cadence and optionally timeframes. Unavailable chains do not delay updates from other chains.

Filters

Provide chain, chain_id, chains, and/or chain_ids. Selections are combined and deduplicated.

Example

Events

The room emits lighthouse_update. data is an array with the same entry format as REST: chain, chain_id, timeframe, overall, and protocols. Merge entries by chain_id and timeframe, keeping other selected entries. Send another subscribe to replace the selection on the same connection; discard chains you removed. Send unsubscribe_all without filters to stop. Subscribe acknowledgements include chains, chain_ids, interval_ms, timeframes, and rejected. Pick Response (Long) or Response (Short) in the right-hand panel. WebSocket defaults to short. See long and short field names.

Subscription acknowledgement

Unsubscribe

Last modified on September 27, 2026