Skip to main content
Server-Sent Events stream of every state change in the active season — HP updates, swaps, reservations, the cut, settlement. Used by the Arena ticker, the leaderboard, and any external integration that needs a live feed without polling.

Event types

Each row is one SSE event: name.

Priority pipeline

Events flow through a bounded queue with three lanes. Under backpressure, LOW-priority events are dropped first and HIGH events always make it through. Inside each lane:
  • Per-token throttle — at most 1 event per token per 250ms. Burst swaps on the same token are coalesced; the most recent one wins.
  • Dedupe — identical event payloads within a 1s window collapse to one.
  • LOW suppression — when MED or HIGH events queue, LOW events are dropped until the higher lanes drain.
The point: a viral swap storm on one token can’t bury the cut event from firing on schedule. HIGH-priority delivery is preserved even under load.

Connection management

JS subscription example

Event payload shape

Every event is JSON in the SSE data: field with this base envelope:
Type-specific bodies for the most-used events: