Websocket Subscriptions API
Pub-sub methods served over the Avail WebSocket interface only. Each opens a stream: send the subscribe request, receive a subscription id, then receive a notification per update. Cancel with the matching unsubscribe method.
Subscriptions
| Method | Description |
|---|---|
chain_subscribeNewHeads | Stream new block headers |
chain_subscribeFinalizedHeads | Stream finalized block headers |
state_subscribeStorage | Stream storage changes for keys |
author_submitAndWatchExtrinsic | Submit an extrinsic and stream its status |
chain_subscribeAllHeads | Stream all block headers, including forks |
chain_subscribeRuntimeVersion | Stream runtime version changes |
grandpa_subscribeJustifications | Stream GRANDPA finality justifications |
beefy_subscribeJustifications | Stream BEEFY justifications |
transactionWatch_v1_submitAndWatch | Submit and watch a transaction using the new specification |
Support
- Support: support@getblock.io