Decoded swap streams
One of the most valuable features of Heimdahl is the real-time stream of decoded swap events from Solana DEXs.
These events are parsed directly from on-chain instructions — no guesswork, no decoding needed. You get structured, typed JSON messages for every swap, streamed over WebSocket.
Stream Endpoint
wss://api.heimdahl.xyz/v1/swaps/stream/<chain>.<network>.<dex>?api_key=<your_api_key>chain: Currently onlysolanais supportednetwork:mainnetdex: One of the supported DEX sources listed belowapi_key: Your Heimdahl API key (demoworks for 5 minutes)
Supported DEX Sources
DEX Name
Identifier (use in URL)
Meteora DLMM
meteora-dlmm
Pump.fun
pumpfun
PumpSwap
pumpswap
Raydium CPMM
raydium-cpmm
Sample Stream Usage (JavaScript)
Sample Event Payloads
🟢 Pump.fun Buy
🔴 Pump.fun Sell
🟡 Raydium CPMM Swap
Notes
Use
demokey for testing (5 min limit).Data is sent as structured JSON, ready for direct use in bots, dashboards, or alerts.
More DEXes and chains coming soon — including Sui and Cosmos.
Last updated