Skip to main content

JavaScript / Node.js

Track all pending settlements

Whale alerts ($5K+)

Monitor a specific market by slug

Track a wallet

Always match by fill.maker, never by fill.taker. The taker field is the counterparty — matching it returns the wrong wallet’s perspective with the opposite token and the complement price. See the Settlement Event reference for full details.
This unchanged subscription follows the default Chainlink stream. See Chainlink TWAP Prices to select the 30-second window, the 60-second window, or both during the August transition.

Settlements + price feeds on same connection

Python

asyncio client with reconnection

Multiple wallet subscriptions

wscat (CLI)

Quick testing from the command line:

curl (WebSocket upgrade)

Common patterns

Reconnection with exponential backoff

Pending-to-confirmed tracking