Documentation Index
Fetch the complete documentation index at: https://helius-auto-translations.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
This subscription is considered unstable and is only available if the validator was started with the
--rpc-pubsub-enable-block-subscription flag. The format of this subscription may change in the future.Endpoints
Websockets are available on mainnet and devnet with the following URLs:- Mainnet
wss://mainnet.helius-rpc.com/?api-key=<api-key> - Devnet
wss://devnet.helius-rpc.com/?api-key=<api-key>
Websockets have a 10-minute inactivity timer; implementing health checks and sending pings every minute is heavily recommended to keep the websocket connection alive.
Authorizations
Body
Response
Subscription id (needed to unsubscribe)
Notification Format
The notification will be an object with the following fields:slot: <u64>- The corresponding slot.err: <object|null>- Error if something went wrong publishing the notification otherwise null.block: <object|null>- A block object as seen in thegetBlockRPC HTTP method.