Documentation Index
Fetch the complete documentation index at: https://docs.mobula.io/llms.txt
Use this file to discover all available pages before exploring further.
Subscriptions use the WebSocket endpoint
wss://api.mobula.io/graphql/subscriptions with the graphql-transport-ws protocol.Overview
Stream the current page of a filterTokens query in real time. The same filters, rankings, and pagination arguments accepted byfilterTokens are accepted here — the server re-evaluates them on every tick and pushes the full current page.
- First message is the full filtered set for the supplied arguments.
- Subsequent messages re-run the filter every
updatePeriodms and yield the full current set (not a delta). updatePerioddefaults to 500 ms and is capped at 60000 ms.
Returns
Current page of matching tokens for the supplied filters. See FilterTokenUpdates.
Arguments
Filter conditions. See TokenFilters.
Sorting criteria. See TokenRanking and TokenRankingAttribute.
FILTERED or UNFILTERED. See TokenPairStatisticsType.Search phrase to match against token name or symbol.
Array of specific token selectors in
"address:networkId" format.Array of token addresses to exclude from results.
Maximum number of results to return (default: 25, max: 200).
Pagination offset (default: 0).
Update interval in milliseconds (default:
500, max: 60000).Example
Subscribe example
Open agraphql-transport-ws WebSocket to wss://api.mobula.io/graphql/subscriptions, complete the connection_init handshake, then send a subscribe message: