dune-analytics

Query live on-chain datasets via the Dune REST API.

Updated Apr 3, 2026
One-click install
npx skills add https://github.com/Drock91/ows-hackathon --skill dune-analytics-drock91
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dune-analytics
Source: https://github.com/Drock91/ows-hackathon/tree/main/.agents/skills/dune-analytics
Command: npx skills add https://github.com/Drock91/ows-hackathon --skill dune-analytics-drock91

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Dune Analytics removes the friction of querying live on-chain datasets by providing clear REST API workflows to execute saved queries, run raw DuneSQL, and retrieve structured results without manual polling complexity.

Core Features & Use Cases

  • Execute Saved Queries: Run saved Dune queries and poll until results are available for transaction histories, token flows, and contract metrics.
  • Ad-hoc DuneSQL: Execute raw SQL against Dune datasets to answer custom questions about wallets, DEX trades, transfers, and smart contract events.
  • Monitoring & Management: Check execution states, cancel jobs, and monitor credit usage to control costs and performance.
  • Wallet Integration: Pair with MoonPay to create and fund wallets for on-chain experiments and then analyze those wallets on Dune.
  • Use Case: Analyze an autonomous agent's wallet activity and revenue flows by executing parameterized queries that return recent transactions, token transfers, and revenue metrics.

Quick Start

Execute a saved Dune query to fetch the most recent 20 transactions for a specified Ethereum address and return the results as JSON.

Frequently Asked Questions about dune-analytics

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run live on-chain analytics queries for Ethereum wallet transactions?

Run live on-chain analytics by executing saved queries or raw DuneSQL via the Dune REST API. You can retrieve recent Ethereum wallet transactions, token transfers, and contract events by polling execution results until structured JSON data is available.

What's the best way to analyze DEX trades and token transfers on the blockchain?

Analyze DEX trades and token transfers by executing raw DuneSQL against Dune datasets. The Skill queries decoded tables across chains like Ethereum and Polygon, returning structured results for trade flows and smart contract events without manual polling complexity.

Do I need an API key to retrieve on-chain data from Dune datasets?

You need an API key to retrieve on-chain data from Dune datasets. A valid X-Dune-API-Key header is required in the request to authenticate execution of saved queries, raw DuneSQL runs, result polling, and execution cancellation.

Can I monitor and cancel query execution to control Dune API credit usage?

You can monitor and cancel query execution to control Dune API credit usage. The Skill supports checking execution states and canceling jobs directly through the REST API, ensuring you manage costs and performance across blockchain queries.

How do I track an autonomous agent's wallet activity and revenue flows on-chain?

Track an autonomous agent's wallet activity and revenue flows by executing parameterized DuneSQL queries. The Skill returns recent transactions, token transfers, and revenue metrics as structured JSON, enabling detailed auditing of wallet behavior across supported chains.

Does this approach work with wallet integration for funding and analyzing on-chain experiments?

This approach works with wallet integration by pairing with MoonPay to create and fund wallets for on-chain experiments. Once funded, you can analyze those same wallets on Dune by querying transaction histories, token flows, and contract metrics.