Overview
The GraphQL IDE lets you save queries to your browser for quick access later. Saved queries persist across browser sessions and appear in the sidebar’s Saved tab, giving you a personal library of go-to queries without needing external tools.Saving a Query
Write or load a query
Enter a query in the editor, or load one from the templates.
Click Save Query
Click the Save Query button in the toolbar. A dialog appears with two fields:
- Title (required) — A descriptive name for the query
- Tags (optional) — Comma-separated labels for organization (e.g.
solana, dex, monitoring)
Loading a Saved Query
- Open the sidebar (Ctrl/Cmd+B)
- Switch to the Saved tab
- Click on any saved query to load it into the editor
Deleting a Saved Query
To delete a saved query:- Open the sidebar and switch to the Saved tab
- Hover over the query you want to remove — a delete icon appears
- Click the delete icon to remove the query
Deletion is permanent. There is no undo — once deleted, the query cannot be recovered.
Storage Details
| Property | Detail |
|---|---|
| Storage mechanism | Browser localStorage |
| Persistence | Survives page refreshes and browser restarts |
| Scope | Per-browser, per-origin (same domain) |
| Sync | Not synced across devices or browsers |
| Clearing | Clearing browser data or localStorage removes all saved queries |
Saved queries are stored entirely in your browser’s
localStorage. They are not sent to any server and are not accessible from other devices. If you need to share a query, use the Code Export feature to generate a portable snippet.Organizing with Tags
Tags help you categorize and filter saved queries as your collection grows. Some recommended tagging strategies:By chain
By chain
Use chain-specific tags like
solana, ethereum, bsc to quickly filter queries for a particular network.By Cube
By Cube
Tag queries with the Cube name:
dextrades, transfers, ohlc, holders, etc.By use case
By use case
Functional tags like
monitoring, analysis, debug, dashboard indicate the query’s purpose.By token or project
By token or project
Tag with specific project names or token symbols:
usdc, bonk, raydium, uniswap.Best Practices
- Save iteratively — Save working versions of queries as you refine them. Use versioned titles like “OHLC v1”, “OHLC v2” if needed.
- Clean up regularly — Delete queries you no longer use to keep the sidebar manageable.
- Export before clearing — If you plan to clear browser data, export important queries as code snippets first via Code Export.
- One query per concern — Avoid saving monolithic queries that do too much. Smaller, focused queries are easier to reuse and compose.

