Skip to main content
Streams the columns of the discovery board, ranked. Subscribe on an open stream connection. See WebSocket streams for connections, frames and reconnection.

Filters

The filter is the Discovery request body: chains, and one or more of the columns newPairs, graduating and graduated. Each column takes sortBy, order, limit and filters, with the same defaults as the REST request. chains must list at least one chain, and the filter must include at least one column. Each subscription counts as one address against the address limit. The channel does not accept a throttleMs above 0 or any other subscribe option.

Updates

  • After the ack, one update for each requested column contains the whole column, in rank order. It matches the REST response for the same body. An empty column sends an update with an empty deltas list.
  • After that, each change to a token can add, move or remove it. A token is added while its column has room, or when it ranks above the last row of a full column, which then drops.
  • A token that no longer matches filters or the column defaults is removed, and the rows below it move up. A token that graduates moves from newPairs or graduating to graduated.
  • Changes are batched every 250 milliseconds. Each batch sends one update for each column that changed, and nothing for a column that did not.
  • If the first request for one chain does not succeed, the first update omits that chain’s rows, and the other chains still fill the column. The REST request returns an error instead.
The server never ranks a column again, and checks the time rules, such as the 24-hour activity cutoff and lastActivityMinutes, only when a token changes. A token that stops trading therefore stays in the column, and a removed row’s place stays empty until another token fills it. Over time, a column drifts from the REST response for the same body. To realign it, subscribe again, for example every few minutes. Each update costs one third of a credit.

Message format

Each update’s data contains the column it describes and a deltas list. Keep one row per column, chain and address, and apply each delta in order: In each update, the removals come first, then the other rows in rank order. rank starts at 1. data has the same fields as a token in the Discovery response. After a reconnect, subscribe again. No REST request is needed.

Errors