跳到正文
TakoAPI
返回技能列表

dune-analytics-api

由 lz-web3 提供

Browser & Automation
500下载量由 clawskills.sh 提供
2星标
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Dune Analytics API for blockchain data queries.

描述

该技能的功能

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.

何时使用

  • 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

示例工作流

输入

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

智能体
  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

输出

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

前置要求

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

安装

clawhub install lz-web3/dune-analytics-api

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接