polynode-sdk is the Node.js client for PolyNode’s V3 API, event stream, PN1 orderbook, perps stream, short-form markets, and trading helpers.
Install
package.json
First request
Client surfaces
Each WebSocket is independent. Close the subscription or client you opened when your process shuts down.
V3 API
Call any registered V3 operation.
Settlement stream
Subscribe with replay and overflow visibility.
Short-form and TWAP
Rotate with the correct Chainlink window.
PN1 orderbook
Maintain fail-closed local state.
Perps stream
Subscribe to tickers, books, trades, and klines.
Trading and fees
Use the current V2 defaults safely.

