Skip to main content

chain_unsubscribeAllHeads

Description#

Cancel a previously created WebSocket subscription. Always unsubscribe to avoid leaking server resources in long‑running apps.

Cancels a subscription started with chain_subscribeAllHeads. Provide the numeric subscription ID.