> ## 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.

# Solana Data Streaming

> Stream real-time Solana blocks, account updates, transaction data, and blockchain events. LaserStream gRPC, LaserStream WebSocket, Webhooks, and Shred Delivery solutions.

## What is data streaming on Solana?

Data streaming allows applications to receive real-time updates from the Solana blockchain as events occur on-chain. Instead of repeatedly polling for updates, streaming establishes persistent connections that push data to your application instantly when transactions are processed, accounts change, or blocks are produced.

This is essential for applications that require up-to-the-second data such as:

* **Trading applications** monitoring price changes and liquidations
* **DeFi protocols** tracking user interactions and state changes
* **NFT marketplaces** detecting sales, listings, and transfers
* **Analytics platforms** collecting comprehensive blockchain metrics
* **Wallets** showing real-time balance and transaction updates

> [!TIP]
>
> Building a trading strategy? The [Trading](https://www.helius.dev/docs/trading/overview.md) section brings
> together the latency-sensitive products — [Preconfirmations](https://www.helius.dev/docs/pre-confirmations/overview.md), [Shred
> Delivery](https://www.helius.dev/docs/shred-delivery/raw-shreds.md), and [Helius
> Sender](https://www.helius.dev/docs/sending-transactions/sender.md) — in one place.

## Why choose Helius for data streaming?

> [card] Ultra-Low Latency
>
> Direct connections to Solana leaders ensure sub-second data delivery

> [card] Enterprise Reliability
>
> Multi-node redundancy and automatic failover for 99.9% uptime

> [card] 48-Hour Historical Replay
>
> Never miss data with automatic backfill capabilities

> [card] Global Infrastructure
>
> Endpoints in multiple regions for optimal performance worldwide

## Which streaming solution should I use?

Pick the product that matches **what stage of the data you need** and **how your app wants to consume it**. The table below maps each option to its delivery shape and the type of workloads it's best suited to.

| Solution | Best for | Protocol | Plan | Replay |
| - | - | - | - | - |
| **[Preconfirmations](https://www.helius.dev/docs/pre-confirmations/overview.md)** | propAMMs, snipers, copy traders, liquidation bots — earliest transaction signal | WebSocket | All paid plans | ❌ |
| **[Shred Delivery](https://www.helius.dev/docs/shred-delivery.md)** (raw shreds) | propAMMs, snipers, copy traders, liquidation bots — pre-execution data | UDP | All plans ([paid add-on](https://www.helius.dev/docs/billing/plans.md#shred-delivery)) | ❌ |
| **[Preprocessed Transactions](https://www.helius.dev/docs/preprocessed-transactions/overview.md)** | Decoded pre-execution transactions without running deshredding | WebSocket | All paid plans | ❌ |
| **[LaserStream gRPC](https://www.helius.dev/docs/laserstream.md)** | Mission-critical backends, indexers, multi-region failover | gRPC | Business+ (Mainnet), All plans (Devnet) | ✅ 48h |
| **[LaserStream WebSocket](https://www.helius.dev/docs/rpc/websocket.md)** | Web apps, real-time UIs, broad client compatibility | WebSocket | Free+ | ❌ |
| **[Webhooks](https://www.helius.dev/docs/webhooks.md)** | Server-to-server event notifications, low-volume integrations | HTTP POST | Free+ | ❌ |

> [!TIP]
>
> Not sure which to pick? Most production apps start with **LaserStream gRPC**
> for backends and **LaserStream WebSocket** for browser/UI clients.
> **Webhooks** are great when you don't want to maintain a persistent
> connection. **Shred Delivery** is purpose-built for sub-millisecond trading
> strategies, and **Preprocessed Transactions** delivers the decoded
> pre-execution transactions without deshredding. For the earliest transaction signal of all, **Preconfirmations** streams transactions before they're shredded.

### Pick by what you're optimizing for

The shred-based products and LaserStream's commitment levels sit at different points in the transaction lifecycle. What you're trying to receive matters as much as the protocol:

| Goal | Fastest path |
| - | - |
| **Earliest transaction signal** | **[Preconfirmations](https://www.helius.dev/docs/pre-confirmations/overview.md)** (before shreds) → **Raw shreds (UDP)** → **Preprocessed transactions ([`preprocessedSubscribe` WebSocket](https://www.helius.dev/docs/preprocessed-transactions/preprocessed-subscribe))** (\~8 ms ahead of `processed`) → LaserStream gRPC at `processed` |
| **Earliest account / program updates** | **LaserStream gRPC at `processed`** — shreds and preprocessed transactions only carry transaction data, not account state. Account updates are produced by the runtime during execution, so they aren't available until processing completes. |
| **Earliest confirmed transactions or accounts** | **LaserStream gRPC at `confirmed`** — fastest commitment level that won't roll back |

> [!NOTE]
>
> **Common gotcha:** if you need real-time account or program state changes (for
> example, monitoring an AMM's bonding-curve account or a user's token balance),
> **Shred Delivery does not help** — those updates simply don't exist at the
> shred stage. Use LaserStream gRPC at `processed` instead.

## Helius Streaming Solutions

### Preconfirmations

[Preconfirmations](https://www.helius.dev/docs/pre-confirmations/overview.md) stream transactions at the earliest point they can be observed — before they are collected into entries and shredded. Helius preconfirmations are emitted the instant the leader executes a transaction, together with its execution status; BAM preconfirmations are emitted when the validator commits to executing it. It is the lowest-latency transaction signal Helius offers, delivered over a `preconfSubscribe` WebSocket subscription. It is available on **all paid plans** at **10 credits per delivered message**. Zero-message slots cost zero. Slots with one or more delivered messages have a 300-credit minimum per subscription.

#### Best For

The earliest possible reaction to onchain activity:

* propAMMs
* Snipers
* Copy traders
* Liquidation bots

> [!NOTE]
>
> A preconfirmation is an early signal, not a guarantee — the transaction has
> not yet landed and could still fail or be dropped.

### Shred Delivery

[Shred Delivery](https://www.helius.dev/docs/shred-delivery.md) is Helius's pre-execution data product: **[raw shreds (UDP)](https://www.helius.dev/docs/shred-delivery/raw-shreds.md)**. Helius is a [top validator](https://www.helius.dev/validator) by stake, so we receive shreds before lower-stake validators and non-staked RPC nodes. You implement the deshredding yourself. Available on all plans; each seat is \$1,000 USD/month per IP (\$800 USD/month per IP on Pro plans). [Subscribe in your Helius Dashboard](https://dashboard.helius.dev/shred-delivery-seats) - no manual provisioning required.

#### Best For

* propAMMs
* Snipers
* Copy traders
* Liquidation bots
* RPC node operators who want to remove network sync latency

> [!TIP]
>
> Ready to receive raw shreds? [Subscribe in your Helius
> Dashboard](https://dashboard.helius.dev/shred-delivery-seats). See [pricing](https://www.helius.dev/docs/billing/plans.md) for details.

### Preprocessed Transactions

[Preprocessed transactions](https://www.helius.dev/docs/preprocessed-transactions/overview.md) are pre-execution transactions, aggregated primarily from decoded shreds with the deshredding handled by Helius. Delivered over the [`preprocessedSubscribe` WebSocket](https://www.helius.dev/docs/preprocessed-transactions/preprocessed-subscribe) (Public Beta, all paid plans, **0.1 credits per message**).

#### Best For

Latency-sensitive trading applications that want decoded, pre-execution transactions without operating a shred decoder.

### LaserStream gRPC (All plans Devnet, Business+ Mainnet)

[LaserStream gRPC](https://www.helius.dev/docs/laserstream.md) provides ultra low-latency data streaming via gRPC, with advanced features such as historical replay, automatic reconnects, and multi-node reliability. LaserStream is wire-compatible with the open Yellowstone gRPC protocol, so any Yellowstone client works.

#### Key Features

* Turnkey: Get faster gRPC streams without the headaches of managing hardware or upgrades
* 48-Hour Historical Replay: Automatically backfill up to 48 hours of missed data
* Auto-Reconnection: Built-in connection management with intelligent retry logic
* Global Endpoints: Available in [9 regions](https://www.helius.dev/docs/laserstream/grpc.md#mainnet-endpoints) worldwide for optimal latency
* Yellowstone-Compatible: Drop-in replacement for existing `@triton-one/yellowstone-grpc` setups

#### Best For

* Backend services
* High-throughput applications
* Mission-critical systems requiring guaranteed data delivery

> [!TIP]
>
> Get started with LaserStream from your [Helius Dashboard](https://dashboard.helius.dev/laserstream). Mainnet requires a Business plan or higher; Devnet is available on all paid plans. See [our plans](https://www.helius.dev/docs/billing/plans.md) for details.

### LaserStream WebSocket

[LaserStream WebSocket](https://www.helius.dev/docs/rpc/websocket.md) is the WebSocket-protocol variant of LaserStream. It serves the standard Solana JSON-RPC subscription methods (`accountSubscribe`, `programSubscribe`, `logsSubscribe`, …) alongside Helius-specific extensions like `transactionSubscribe` for advanced filtering, all on the same unified endpoint and powered by the same LaserStream backend as the gRPC product.

#### Key Features

* Full Solana compatibility: works with any Solana WebSocket client library
* Helius extensions: `transactionSubscribe` and an enhanced `accountSubscribe` for richer filtering
* Up to 200 ms faster than standard Agave RPC-based WebSockets
* Unified endpoint: `wss://mainnet.helius-rpc.com` and `wss://devnet.helius-rpc.com` for both standard and Helius-extended methods

#### Best For

Real-time frontend apps, moderate-volume backends, broad ecosystem compatibility

### Webhooks

Event-driven, server-to-server [webhook](https://www.helius.dev/docs/webhooks.md) notifications for on-chain activities delivered to your endpoints.

#### Key Features

* Parsed Event Data: Human-readable transaction data for sales, swaps, and more
* Multiple Types: Enhanced, raw, and Discord webhook options
* Transaction Filtering: Subscribe to specific event types and addresses
* Reliable Delivery: Automatic retries and delivery confirmations

#### Best For

Event-driven architectures, notifications, integrations with external services

## Getting Started

**1. Choose Your Solution**

Select the streaming method that best fits your app requirements and infra.

**2. Get Your API Key**

Sign up at [dashboard.helius.dev](https://dashboard.helius.dev) and obtain
your API key.

**3. Follow the Quickstart**

Each solution has dedicated quickstart guides and code examples.

**4. Monitor & Scale**

Use the Helius dashboard to monitor usage and scale your plan as needed.

> [card] [Data Streaming Quickstart](https://www.helius.dev/docs/data-streaming/quickstart.md)
>
> Get up and running with your first streaming connection in minutes

## Support & Community

> [card] [Documentation](https://www.helius.dev/docs/api-reference.md)
>
> Comprehensive API references and guides for all streaming methods

> [card] [Discord Community](https://discord.com/invite/6GXdee3gBj)
>
> Join thousands of developers building on Solana with Helius

> [card] [Enterprise Support](https://www.helius.dev/docs/support)
>
> Priority support channels for business and professional customers

Ready to start streaming Solana data?

Choose your preferred method above and dive into the documentation!


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.