Stream real-time reserve updates for a single pool or token
Establishes an SSE stream for reserve updates on a specific pool or token using query string parameters.
Supported Channel Events: - pool_reserves: Per-block reserve update for a pool. Schema matches PoolReservesResponse. - token_reserves: Aggregated reserve update across all pools for a token. Schema matches TokenReservesResponse. - ping: Infrastructure keep-alive payload (PingEvent). - warning: System warning notifications (WarningEvent). - error: Stream-level operational exceptions (ErrorEvent).
Query Parameters
Subscription target type — pool_reserves for pool-level data, token_reserves for token-level aggregated data.
pool_reserves, token_reserves Target pool or token smart contract address.
Target blockchain network identifier (e.g., ethereum, solana).
Optional identifier for tracking the request in the SSE stream.
0 <= x <= 4294967295Maximum event count before server-initiated connection teardown.
x >= 1Response
SSE stream successfully established.
- Option 1
- Option 2
- Option 3
- Option 4
- Option 5
Per-block reserve update for a pool. Emitted on the pool_reserves event channel.
Blockchain network identifier.
"ethereum"
Pool smart contract address.
"0x88e6a0c2ddd26feeb64f039a2c41296fcb3f5640"
Block number in which the reserve update was confirmed (string-encoded integer).
"19000000"
Previous block number for this pool (string-encoded integer). Omitted if unavailable.
"18999999"
Per-token reserve statistics for this pool.
Total USD value of all reserves in the pool.
2000000.75
Total USD change across all reserves. Negative values indicate a net decrease.
-1000.5
Server ingestion timestamp (Unix epoch seconds).
1715162400
On-chain block timestamp (Unix epoch seconds).
1715162388