Learn how to stream live Solana Pump AMM data using Enhanced WebSocket with Helius. Real-time token data, price feeds, and trading activity monitoring.
Why choose Enhanced WebSocket – fast JSON streams with decoded accounts and transactions. No custom network stack is required.
How it works – connect to the Atlas endpoint, subscribe to Pump AMM transactions, and listen for updates. The sample retries five times with exponential back‑off.
.ts
samples with ts‑node
HELIUS_API_KEY
that stores your API keynpm i -g typescript ts‑node
Install Dependencies
Create the WebSocket Client
enhanced-ws-pump.ts
with the following code:Set Environment Variables
your-helius-api-key
with your actual Helius API key from the dashboard.Run the Application
401 Unauthorized
No logs received
Connection dropping
Create a UI Dashboard
Implement Database Storage
Set Up Alerting System
Implement Heartbeat Monitoring