What Are Query Templates
Query templates are pre-written GraphQL queries that cover the most common analytical use cases across Solana, Ethereum, and BSC. Each template targets a specific Cube and comes pre-filled with the correct query structure, fields, and filter arguments — ready to run after replacing placeholder values. Templates help you:- Learn the schema by example — see how fields, filters, and ordering work in practice
- Start quickly without writing queries from scratch
- Discover Cubes you might not have known about
Accessing Templates
1
Open the sidebar
Click the sidebar toggle or press Ctrl/Cmd+B to open the left panel.
2
Select the Queries tab
The sidebar has two tabs: Queries (templates) and Saved (your saved queries). Select Queries.
3
Browse by chain and Cube
Templates are organized in a tree: Chain (Solana / Ethereum / BSC) → Cube (DEXTrades, Transfers, etc.) → Template.
4
Click to load
Click any template to load it into the query editor. Placeholder values are highlighted for easy replacement.
Template Organization
Templates follow a two-level hierarchy:network value (sol, eth, or bsc).
Template Catalog
The most commonly used Cubes are covered across 19 templates. Each template is available for all supported chains.
Template Details by Cube
DEXTrades (5 templates)
DEXTrades (5 templates)
Transfers (2 templates)
Transfers (2 templates)
BalanceUpdates (2 templates)
BalanceUpdates (2 templates)
DEXPools (3 templates)
DEXPools (3 templates)
TokenSupplyUpdates (2 templates)
TokenSupplyUpdates (2 templates)
TokenHolders (1 template)
TokenHolders (1 template)
WalletTokenPnL (1 template)
WalletTokenPnL (1 template)
Pairs (1 template)
Pairs (1 template)
Tokens (2 templates)
Tokens (2 templates)
Placeholders
Templates use uppercase placeholders to indicate values you need to replace with real on-chain addresses before executing.Placeholders appear as literal strings in the query (e.g.
MintAddress: {is: "TOKEN_ADDRESS"}). Replace the entire placeholder string including quotes with your actual address.Example: Using a Template
Here’s how to use the DEXTrades → Latest Trades template on Solana:1
Open sidebar and select template
Navigate to Solana → DEXTrades → Latest Trades and click to load.
2
Review the loaded query
The editor populates with:
3
Execute
This template has no placeholders — it fetches the 10 most recent trades. Press Ctrl/Cmd+Enter to run.
4
Iterate
Modify the query to add filters, change the limit, or select different fields. The schema autocomplete helps you discover available options.

