Problem
A typical page might:- Fetch top tokens for several windows (volume + txn count at 1h, 2h, 4h, 24h).
- Dedupe ~300 unique mints across those lists.
- Call ~7 REST endpoints per mint (deploy, price changes, volume, metadata, holders, supply, stats).
Solution
OnePOST /api/sol/graphql request:
- Multiple aliased
topTokensroots (one per leaderboard). - One
tokens(mints: [...])root with only the nested fields you need.
Limits
Example query
Variables
Buildmints as the deduped union of every mint returned from your topTokens aliases (client-side or in your BFF):
cURL
Field selection
tokens uses GraphQL field selection — omit expensive branches if you do not need them:
