Documentation Index
Fetch the complete documentation index at: https://hypernode-docs.polynode.dev/llms.txt
Use this file to discover all available pages before exploring further.
WebSocket endpoint
pn_live_.
Networks
| Network | Endpoint | Volume | Description |
|---|---|---|---|
| Mainnet | wss://hyper.polynode.dev/ws | ~6,500 events/sec (both layers) | HyperLiquid production chain |
Latency
hypernode delivers committed transactions ~1 second before HyperLiquid’s own public API.Keep-alive
The server sends WebSocket ping frames every 30 seconds. Your client must respond with pong within 90 seconds or the connection is closed. Most WebSocket libraries handle this automatically. You can also send application-level pings:Reconnection
There is no event replay or gap-fill mechanism. If your connection drops, you may miss events during the disconnection window. Reconnect immediately with exponential backoff:Full Python example
A complete example that connects, authenticates, subscribes to fills, and processes events:pip install websockets (not pip install websocket).
Subscription acknowledgement
After a successful subscribe, the server sends one acknowledgement message before any events:event.get("action") == "subscribed" and skip it, then process events by event["type"].