Skip to main content
HyperliquidPolymarket
Sends an initial snapshot, including orders: [] when there are no relevant orders, then subsequent updates with isSnapshot: false. Terminal Polymarket orders can remain in the snapshot while matched fills await settlement.

Subscribe

Response

Confirmed order replacements

A confirmed modify can include modification alongside order and status on the replacement order’s update: This metadata is absent on an unconfirmed modifying request and when the old order cannot be read. A canceled update with cancelReason: "modified" removes the old order; the replacement’s update confirms its outcome. Do not treat a modify request alone as a successful size reduction.

Prediction-market outcomes

Both Hyperliquid and Polymarket outcomes use this channel:
  • Hyperliquid-routed outcomes use a 16-character HL_Outcome marketAssetId.
  • Polymarket-routed outcomes use a 68-character PM_Outcome marketAssetId; coin can be a fallback label such as PM_Outcome:12345678901234567890.
Use the Notional oid for cancel requests and matching later updates. Fok is preserved as tif: "Fok"; Gtd and Fak may currently appear as tif: null. Polymarket updates backed by canonical fill-settlement facts include order.filledSz, the exact CLOB-matched share quantity. Use it for executed size instead of deriving origSz - sz: valid buy price improvement can execute more shares than origSz without exceeding the signed quote budget. Use polymarketFills on the order-update object for matched, failed, and finalized settlement transitions. After Polygon finality, Polymarket also publishes the finalized trade through userFills; re-read polymarketPositions and assets for canonical shares and pUSD balances. After a Hyperliquid outcome fill, use userFills and outcomeBalances.

polymarketFills[]

This optional array is on each update alongside order, status, and statusTimestamp: matched is provisional. Outcome shares are not credited until settlement finalizes. A later failed transition does not represent an executed fill; refresh canonical balances after a finalized transition.