sim
Installation
SKILL.md
Prerequisites
Assume the Dune CLI is already installed and authenticated. Do not run upfront install or auth checks. Just execute the requested dune sim command directly.
If a dune sim command fails, inspect the error to determine the cause and follow the recovery steps in install-and-recovery.md:
- "command not found" → CLI not installed. See CLI Not Found Recovery.
- "missing Sim API key" → No key in flag, env, or config. See Sim Authentication Failure Recovery.
- "authentication failed" → Key is invalid, expired, or revoked. See Sim Authentication Failure Recovery.
- Unknown subcommand or flag / unexpected output → Possible version mismatch. See Version Compatibility.
Dune Sim API
A CLI interface for the Dune Sim API -- real-time, pre-indexed blockchain data. Use it to instantly look up wallet balances, token prices, transaction history, activity feeds, NFT holdings, DeFi positions, and token holder distributions across EVM and SVM chains.
When to Use Sim API vs DuneSQL
Choose the right tool based on the task:
Related skills