Saltar al contenido
TakoAPI
Volver a skills

dune-analytics-api

por lz-web3

Browser & Automation
500Descargas según clawskills.sh
2Estrellas
0Vistas
0 me gustaInicia sesión para dar me gusta a esta skill
—Aún sin valoraciones
Tu valoración

Resumen

Dune Analytics API for blockchain data queries.

Descripción

Qué hace esta skill

Queries, analyzes, and uploads blockchain data via the Dune Analytics API. Covers EVM and Solana chains, DEX trade analysis, wallet tracking, SQL optimization for DuneSQL (Trino), and CSV/NDJSON data uploads. Includes scripts for common operations and reference docs to avoid known table pitfalls.

Bundles scripts, reference docs, and anti-pattern guidance together so common mistakes like inflated volume from dex.trades or missing Solana deduplication are caught before they reach production.

Cuándo usarla

  • Tracking a wallet's trading volume across EVM chains
  • Analyzing DEX activity for a specific token or protocol
  • Uploading a CSV of wallet addresses to query against on-chain data
  • Finding and inspecting decoded event tables by contract address
  • Running parameterized Dune queries and monitoring credit usage

Flujo de trabajo de ejemplo

ENTRADA

User asks: Show me the last 7 days of trading volume for a specific wallet on Ethereum

AGENTE
  1. 1

    Read wallet-analysis.md and common-tables.md references to select correct tables

  2. 2

    Identify dex_aggregator.trades as the correct table for user-level wallet volume

  3. 3

    Write DuneSQL query filtering by wallet address and date range

  4. 4

    Execute query via dune_query.py or DuneClient with is_private=True

  5. 5

    Return results with credits consumed and data freshness note

SALIDA

Table of daily trading volume in USD for the wallet over the past 7 days

Requisitos

  • DUNE_API_KEY environment variable
  • Dune Analytics account (free tier supports saved query execution; Plus plan required for direct SQL execution via run_sql)

Instalación

clawhub install lz-web3/dune-analytics-api

Ejecuta el comando de la CLI o pega el prompt en Claude Code, Cursor, Codex o el agente de programación que uses.

Enlaces