Skip to main content

chain_subscribeAllHeads

Description#

Subscribe to real‑time chain updates over WebSocket. Use to stream new or finalized heads or runtime version changes into your app.

Broadcasts every imported block header (finalized and non-finalized). Requires WebSocket.