Stream real-time pool reserves for a single asset
Establishes an SSE stream of block-by-block, USD-denominated reserve changes for a single pool or a single token, using query string parameters. The reserves feed was restructured to emit a distinct event name per subscription method instead of a single shared event:
pool_reserves: emitted whenmethod=pool_reserves. One event per block in which the subscribed pool changed. The payload carries the full pool snapshot, including atokensarray with per-token reserve and delta figures. Schema matchesPoolReservesEvent.token_reserves: emitted whenmethod=token_reserves. One event per block per pool in which the subscribed token changed. The payload is flattened to that single token’s reserve and delta in the affected pool. Schema matchesTokenReservesEvent.ping: Infrastructure keep-alive payload (PingEvent). -warning: System warning notifications (WarningEvent). -error: Stream-level operational exceptions (ErrorEvent), always a single{"message": "..."}object.
Query Parameters
Subscription method. pool_reserves watches one pool by its address; token_reserves watches every pool that contains the given token.
pool_reserves, token_reserves Target pool address (for pool_reserves) or token contract address (for token_reserves).
Target blockchain network identifier (e.g., ethereum, solana).
Maximum event count processing threshold before server-initiated connection teardown.
x >= 1Optional correlation ID echoed back on every message of the stream as an SSE request_id: field. Must be a non-negative integer; non-numeric values are rejected with {"message": "invalid query parameters: request_id (must be a number)"}. Defaults to 0 when omitted.
x >= 0Response
SSE stream successfully established.
- Option 1
- Option 2
- Option 3
- Option 4
- Option 5
Payload for the pool_reserves event channel. Emitted once per block in which the subscribed pool changed, carrying the full pool snapshot.
The blockchain network the pool resides on.
"ethereum"
Address of the pool the change happened in.
"0x88e6a0c2ddd26feeb64f039a2c41296fcb3f5640"
Block number the change was observed in (string-encoded).
"25236164"
Per-token reserve state for every token in the pool.
Total reserve value of the pool in USD.
92394235.39327304
Net USD reserve change across all tokens this block. Positive means net inflow, negative means net outflow.
28.042117388933548
Unix timestamp (seconds) when the event was emitted by the stream.
1780481297
Unix timestamp (seconds) of the block in which the change was observed.
1780481291