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.Returns
Arguments
List of tokens to subscribe to. See OnPricesUpdatedInput.
When
true, subscribe to liquidity-weighted token prices aggregated across all of the token’s pools instead of pair-derived prices. Not supported when any input item provides sourcePairAddress.Behavior
- One subscription, many tokens. Events from different tokens in the batch are interleaved.
- Each matching swap produces one push (per token).
- The
useWeightedPricesflag applies uniformly to all tokens in the batch.