> ## Documentation Index
> Fetch the complete documentation index at: https://www.helius.dev/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# WebSockets FAQs

> Get answers to the most common questions about WebSockets including enhanced features, troubleshooting, and usage

## Billing and Rate Limits

<Accordion title="How many credits does WebSocket events consume?">
  Opening a new WebSocket connection costs 1 credit. All LaserStream WebSocket streaming data is metered at 2 credits per 0.1 MB.
</Accordion>

<Accordion title="How much faster is LaserStream WebSocket vs. standard Agave RPC-based WebSockets?">
  LaserStream WebSocket is, on average, 1.5x – 2x faster than the standard Agave RPC-based WebSocket implementation. It serves both the standard Solana subscription methods and Helius extensions (`transactionSubscribe`, enhanced `accountSubscribe`) from a single endpoint backed by the LaserStream streaming infrastructure.
</Accordion>

## Disconnects and Retries

<Accordion title="Why are my WebSocket connections disconnecting?">
  WebSockets have a 10-minute inactivity timer that disconnects idle connections. To prevent disconnections:

  1. **Implement health checks**: Send pings every minute to keep connections alive
  2. **Add reconnection logic**: Automatically reconnect when disconnections occur
  3. **Use proper connection management**: Follow the patterns shown in our [WebSockets documentation](/rpc/websocket/transaction-subscribe)

  Implement reconnection and ping logic as shown in our documentation, then add your application logic on top of this foundation.
</Accordion>

## Using WebSockets

<Accordion title="What endpoints should I use for WebSockets?">
  LaserStream WebSocket uses one unified endpoint per network: `wss://mainnet.helius-rpc.com/?api-key=YOUR_API_KEY` and `wss://devnet.helius-rpc.com/?api-key=YOUR_API_KEY`. The same endpoint serves both the standard Solana subscription methods and the Helius extensions (`transactionSubscribe`, enhanced `accountSubscribe`). For the fastest Solana WebSockets, try the new [Gatekeeper (Beta)](https://www.helius.dev/docs/gatekeeper/overview) endpoint: `wss://beta.helius-rpc.com/?api-key=YOUR_API_KEY`.
</Accordion>

<Accordion title="I used to call this 'Enhanced WebSockets' — is anything different?">
  No, nothing breaks. The product previously documented as "Enhanced WebSockets" (Helius extensions like `transactionSubscribe`) is now part of [LaserStream WebSocket](/rpc/websocket), served from the same `wss://mainnet.helius-rpc.com` / `wss://devnet.helius-rpc.com` endpoints alongside the standard Solana methods. Old `/enhanced-websockets/*` URLs redirect to the new locations under `/rpc/websocket/*`.
</Accordion>

<Accordion title="What is the maximum number of active WebSocket connections?">
  On the Free plan, you can make 5 simultaneous WebSocket connections. On the Developer plan, 150 connections are possible. On Business, you can make 250 connections, and on Professional, up to 1,000 WebSocket connections.
</Accordion>

<Accordion title="Why is my client not receiving some WebSocket updates?">
  The client needs to keep up with the rate of incoming messages from the WebSocket server.

  Common causes of your client missing WebSocket updates include: insufficient network bandwidth, too slow client-side processing (e.g. a too slow programming language), or processing logic that blocks the main thread.
</Accordion>

<Accordion title="Can I subscribe to multiple accounts using the same WebSocket connection?">
  Yes, you can create multiple subscriptions to `accountSubscribe` using the same WebSocket connection.
</Accordion>

<Accordion title="How do I subscribe to full transactions using WebSockets?">
  **For Helius's `transactionSubscribe`**, set `transactionDetails: "full"` in your subscription options:

  ```javascript theme={"system"}
  const subscriptionRequest = {
    jsonrpc: "2.0",
    id: 1,
    method: "transactionSubscribe",
    params: [
      {
        accountInclude: ["YOUR_ACCOUNT_ADDRESS"],
        failed: false,
        vote: false
      },
      {
        commitment: "confirmed",
        encoding: "jsonParsed",
        transactionDetails: "full",  // Full transaction details
        maxSupportedTransactionVersion: 0
      }
    ]
  };
  ```

  **For standard Solana methods**, use `logsSubscribe` or `signatureSubscribe` depending on your monitoring needs. See our [WebSockets guide](/rpc/websocket) for detailed examples of each subscription type.
</Accordion>

***

## Need More Help?

<CardGroup cols={2}>
  <Card title="Contact Support" icon="headset" href="/support/contact-support">
    Get help from our team through Discord, chat, or email support.
  </Card>

  <Card title="Status Page" icon="wave-pulse" href="/support/status-page">
    Check real-time service availability and performance information.
  </Card>
</CardGroup>
