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
array
required
Response
integer
Subscription id (needed to unsubscribe)
Notification Format
The notification format is a single program account object as seen in thegetProgramAccounts RPC HTTP method.