Skip to main content
HIP-4 is live on testnet. When mainnet launches, hypernode will detect new markets within 60 seconds and start streaming prediction events automatically. No configuration needed.

Prediction actions in the stream

Five HIP-4 actions appear as pre-consensus events in the gossip stream:

Confirmed events

Prediction orders and fills appear as regular confirmed events with # coin names:
The prediction object is automatically enriched on every event with a # coin.

Settlement events

When an outcome settles, fills appear with dir: "Settlement":
  • px: "1.0" = this side won (token redeemable for 1 USDH)
  • px: "0.0" = this side lost (token worth nothing)
  • side: "A" = auto-settlement (not a user trade)

Subscribing to prediction events

All prediction market activity:
Track a specific outcome token:
Track settlements (filter confirmed fills, check for dir: "Settlement"):

Metadata enrichment

Every prediction event is automatically enriched with metadata from outcomeMeta, refreshed every 60 seconds: The enriched prices endpoint adds more:

Admin events

These appear when markets are created or settled: