A high-performance TypeScript client for streaming real-time Solana data via Laserstream (gRPC-based Yellowstone fork). Version 0.3.2 supports automatic reconnection, slot tracking, account/transaction/block/slot subscriptions, and configurable replay. N-API Rust bindings provide low latency. Differentiates from WebSocket-based clients by offering gRPC streaming with higher throughput and advanced control over keepalive, flow control, and compression.
npm install helius-laserstreamNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Sets up a basic slot subscription using Laserstream gRPC client with auto-reconnection.
Use await subscribe(...) and handle errors via the error callback or .catch() on the promise.
Set config.replay = true (enabled) or false (disabled) explicitly.
Use seconds (e.g., 20 for 20 seconds, not 20000).
Ensure runtime supports native Node.js addons (e.g., AWS Lambda with N-API enabled).
Run 'npm install helius-laserstream' and use correct import.
Use 'import { subscribe } from 'helius-laserstream'' instead of 'import subscribe from ...'.Verify the Laserstream endpoint URL and ensure you have network access.
No dependency data recorded yet.