Subscribe to receive a notification from the validator on a variety of updates on every slot.
wss://mainnet.helius-rpc.com/?api-key=<API_KEY>
wss://devnet.helius-rpc.com/?api-key=<API_KEY>
err: <string|undefined>
- The error message. Only present if the update is of type “dead”.parent: <u64|undefined>
- The parent slot. Only present if the update is of type “createdBank”.slot: <u64>
- The newly updated slotstats: <object|undefined>
- Only present if the update is of type “frozen”. An object with the following fields:
maxTransactionsPerEntry: <u64>
numFailedTransactions: <u64>
numSuccessfulTransactions: <u64>
numTransactionEntries: <u64>
timestamp: <i64>
- The Unix timestamp of the update in millisecondstype: <string>
- The update type, one of: