Professional Plan Required: LaserStream is available for Professional plan subscribers. Upgrade your plan to access LaserStream’s enhanced streaming capabilities.

What is LaserStream?

LaserStream is a next-generation streaming service purpose-built for developers who need reliable, low-latency Solana data. It delivers on-chain events (transactions, slots, blocks, accounts, and more) directly to your application with industry-leading reliability, performance, and flexibility. Similar to our gRPC offerings, LaserStream nodes tap directly into Solana leaders to receive shreds as they’re produced, delivering ultra-low latency data to your application.

Unlike standard Solana RPC nodes, LaserStream is specifically designed for streaming use cases, offering features not available in conventional node setups:

Historical Replay

Automatically backfill missed data by specifying a starting slot, ensuring data continuity even after disconnections.

Multi-Node Reliability

Stream from multiple aggregated nodes simultaneously, eliminating single points of failure and ensuring maximum uptime.

High Performance

Purpose-built for streaming with optimized connection handling, reducing latency and improving throughput compared to standard connections.

Protocol Flexibility

Choose your preferred protocol to match your application’s needs and environment requirements.

Easy Migration

Drop-in Replacement: LaserStream gRPC is designed as a seamless drop-in replacement for your existing gRPC setup. Simply change your endpoint and API token, and your application will work with LaserStream immediately.

Using Existing gRPC Code

If you already use Yellowstone gRPC, migrating to LaserStream is as simple as:

// Before: Using standard Yellowstone gRPC
const connection = new GeyserConnection(
  "your-current-endpoint.com",
  { token: "your-current-token" }
);

// After: Using LaserStream (just change endpoint and token)
const connection = new GeyserConnection(
  "https://laserstream-mainnet-ewr.helius-rpc.com", // Choose your closest region
  { token: "your-helius-api-key" }
);

Enhanced Experience with the LaserStream SDK

While LaserStream works with your existing code, we highly recommend using our LaserStream SDK for enhanced capabilities:

// Using the dedicated LaserStream SDK
import { subscribe, CommitmentLevel, LaserstreamConfig } from 'helius-laserstream';

const config = {
  apiKey: "your-helius-api-key",
  endpoint: "https://laserstream-mainnet-ewr.helius-rpc.com" // Choose your closest region
};

// The SDK automatically handles:
// - Connection management
// - Reconnection with backoff
// - Historical replay after disconnects
// - Subscription management
await subscribe(config, subscriptionRequest, handleData, handleError);

Key Features

Automatic Reconnection & Catch-up

The LaserStream SDK automatically handles dropped connections, network issues, and data gaps. When a reconnection occurs, the SDK automatically:

  • Reconnects with minimal delay
  • Re-streams any data that was missed during the downtime
  • Continues streaming without intervention

Multi-Protocol Support

LaserStream is designed with multi-protocol support in mind:

ProtocolStatusBest ForFeaturesImplementation
gRPC✅ AvailableBackend services, high-throughput applicationsHighest performance, binary protocol, bi-directional streamingVia LaserStream SDK or Yellowstone
WebSocket🔜 Coming soonFrontend applications, browser clientsJSON-based, widely supported in browsers, familiar for web developersStandard WebSocket clients (e.g., ws library)

WebSocket support is coming soon! Currently, LaserStream is available only via gRPC. WebSocket integration is under active development and will be available in a future update.

Advanced Filtering

LaserStream supports sophisticated filtering options:

  • Account Filtering: Include, exclude, or require specific accounts
  • Transaction Types: Filter by transaction status, vote transactions, etc.
  • Commitment Levels: Choose from processed, confirmed, or finalized
  • Data Content: Request specific data fields or full data

Extreme Scalability

  • Load Balancing: Connections distributed across multiple nodes
  • Auto-scaling: Backend resources scale to match demand
  • Efficient Routing: Requests automatically routed to the most responsive node

Endpoints & Regions

LaserStream is available in multiple regions worldwide for optimal performance. Choose the endpoint closest to your application’s location:

Mainnet Endpoints

RegionLocationEndpoint
ewrNew York, US (East Coast)https://laserstream-mainnet-ewr.helius-rpc.com
pittPittsburgh, US (Central)https://laserstream-mainnet-pitt.helius-rpc.com
slcSalt Lake City, US (West Coast)https://laserstream-mainnet-slc.helius-rpc.com
amsAmsterdam, Europehttps://laserstream-mainnet-ams.helius-rpc.com
fraFrankfurt, Europehttps://laserstream-mainnet-fra.helius-rpc.com
tyoTokyo, Asiahttps://laserstream-mainnet-tyo.helius-rpc.com
sgpSingapore, Asiahttps://laserstream-mainnet-sgp.helius-rpc.com

Devnet Endpoint

NetworkLocationEndpoint
DevnetNew York, US (East Coast)https://laserstream-devnet-ewr.helius-rpc.com

Choosing Your Network & Region:

  • For production applications, use a mainnet endpoint closest to your server location. For example, if your server is in Frankfurt, use https://laserstream-mainnet-fra.helius-rpc.com.
  • For development and testing, use the devnet endpoint: https://laserstream-devnet-ewr.helius-rpc.com.

Authentication & Availability

LaserStream uses your Helius API key for authentication. You can obtain your API key from the Helius Dashboard. Your API key serves as both your authentication token and grants access to LaserStream’s enhanced features.

Plan Requirement: LaserStream is currently available for Professional plan subscribers. To access LaserStream, please ensure your Helius account is on a Professional plan. You can upgrade your plan in the Helius Dashboard.

Getting Started

gRPC

High-performance streaming optimized for backend services and high-throughput applications

For applications that need to catch up on historical data or implement fault-tolerant connections:

Historical Replay

Learn how to implement historical replay to ensure data continuity

When to Use LaserStream vs. Other Solana Streaming Options

FeatureLaserStreamStandard Solana WebSocketYellowstone gRPC
Historical replay✅ Up to 3000 slots (approx. 20 minutes)❌ Not available❌ Limited
Auto-reconnect✅ Built-in with SDK❌ Manual implementation❌ Manual implementation
Multi-node failover✅ Automatic❌ Manual implementation❌ Manual implementation
gRPC support✅ Enhanced❌ Not available✅ Standard
Shredstream enabled✅ Yes❌ No❌ Manual

Next Steps

For more information, join the discussion on our Discord or Telegram.

Attribution

LaserStream is a custom fork of Richat project.