Index of every page on this site: llms.txt
All skills
Run it yourself

Expert assistant for querying and analyzing on-chain blockchain data using Dune Analytics. Use whenever the user wants to: analyze blockchain/on-chain data, write SQL for Dune, find wallet activity, track DeFi protocol metrics, analyze NFT trades, monitor token transfers, investigate smart contract events, check token prices on-chain, find top holders, measure DEX volume, or explore any crypto/web3 data. Trigger even if the user doesn't mention "Dune" explicitly — if they want blockchain data insights or on-chain analysis, this skill applies. Also trigger when the user provides a contract address and wants data for it. Enforces credit budget rules (500 warn / 700 block) and free-vs-paid key separation.

Use this Skill: https://skilld.dev/gh/vo1ganin/crypto-claude-skills/dune

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencestables.md

≈2k tokens on demand. Your agent reads this file only when SKILL.md points to it.

Dune Table Reference

This file lists the most important Dune tables by use case. Table naming pattern: {namespace}_{chain}.{table} or {namespace}.{table} for cross-chain.


Token Transfers (ERC-20)

tokens_{chain}.transfers — decoded ERC-20 transfers, best for wallet/token activity

Column Type Description
block_time TIMESTAMP when the transfer happened
block_number BIGINT block number
tx_hash VARBINARY transaction hash
evt_index INT log index within tx
token_address VARBINARY ERC-20 contract address
token_symbol VARCHAR e.g. 'USDC', 'WETH'
token_decimals INT decimal places
"from" VARBINARY sender address (quoted — reserved word)
"to" VARBINARY receiver address (quoted — reserved word)
amount DOUBLE human-readable amount (already divided by decimals)
amount_raw UINT256 raw on-chain amount
amount_usd DOUBLE USD value at time of transfer
blockchain VARCHAR e.g. 'ethereum'

Chains: tokens_ethereum, tokens_arbitrum, tokens_optimism, tokens_base, tokens_polygon, tokens_bnb

Warning: Always filter by token_address or "from"/"to" address — this table is huge.


Raw Transactions

{chain}.transactions — every transaction on the chain

Column Type Description
block_time TIMESTAMP tx timestamp
block_number BIGINT
hash VARBINARY tx hash
"from" VARBINARY sender (quoted)
"to" VARBINARY recipient / contract
value UINT256 ETH/native token sent (in wei)
gas_used BIGINT
gas_price UINT256 in wei
success BOOLEAN true if not reverted
data VARBINARY input calldata
nonce BIGINT

Chains: ethereum.transactions, arbitrum.transactions, optimism.transactions, base.transactions, polygon.transactions, bnb.transactions

ETH value in ether: CAST(value AS DOUBLE) / 1e18


Raw Logs (Events)

{chain}.logs — raw event logs, use only if no decoded table exists

Column Type Description
block_time TIMESTAMP
block_number BIGINT
tx_hash VARBINARY
contract_address VARBINARY emitting contract
topic0 VARBINARY event signature hash
topic1 VARBINARY first indexed param
topic2 VARBINARY second indexed param
topic3 VARBINARY third indexed param
data VARBINARY non-indexed params (ABI-encoded)

Chains: ethereum.logs, arbitrum.logs, optimism.logs, etc.

Tip: Prefer decoded tables over raw logs — they're cheaper and have human-readable columns.


Token Prices

prices.usd — token prices in USD by minute

Column Type Description
minute TIMESTAMP price timestamp (per minute)
contract_address VARBINARY token contract
symbol VARCHAR token symbol
price DOUBLE USD price
decimals INT
blockchain VARCHAR

prices.usd_latest — latest price only (much faster)

Column Type Description
contract_address VARBINARY
symbol VARCHAR
price DOUBLE current USD price
blockchain VARCHAR

Usage tip: Join prices.usd on minute = date_trunc('minute', block_time) and blockchain = 'ethereum' etc.


DEX Trades

dex.trades — cross-chain decoded DEX trades (Uniswap, Curve, Sushi, etc.)

Column Type Description
block_time TIMESTAMP
block_number BIGINT
tx_hash VARBINARY
blockchain VARCHAR 'ethereum', 'arbitrum', etc.
project VARCHAR 'uniswap', 'curve', 'sushiswap'
version VARCHAR '2', '3', 'v3'
token_bought_symbol VARCHAR
token_sold_symbol VARCHAR
token_bought_address VARBINARY
token_sold_address VARBINARY
amount_usd DOUBLE trade size in USD
token_bought_amount DOUBLE
token_sold_amount DOUBLE
taker VARBINARY wallet that traded
maker VARBINARY LP / pool
project_contract_address VARBINARY pool address

Protocol-Specific: Uniswap V3

uniswap_v3_{chain}.Pool_evt_Swap

Column Type Description
evt_block_time TIMESTAMP
evt_tx_hash VARBINARY
contract_address VARBINARY pool address
sender VARBINARY
recipient VARBINARY
amount0 INT256 token0 delta (negative = sold)
amount1 INT256 token1 delta
sqrtPriceX96 UINT256 price as sqrt ratio
liquidity UINT256 pool liquidity
tick INT current tick

Chains: uniswap_v3_ethereum, uniswap_v3_arbitrum, uniswap_v3_optimism, uniswap_v3_base, uniswap_v3_polygon

uniswap_v3_{chain}.Factory_evt_PoolCreated — pool creation events uniswap_v3_{chain}.Pool_evt_Mint — liquidity added uniswap_v3_{chain}.Pool_evt_Burn — liquidity removed


NFT Trades

nft.trades — cross-chain NFT sales (OpenSea, Blur, LooksRare, etc.)

Column Type Description
block_time TIMESTAMP
blockchain VARCHAR
project VARCHAR 'opensea', 'blur', 'looksrare'
token_id VARCHAR NFT token ID
nft_contract_address VARBINARY collection contract
collection VARCHAR collection name
seller VARBINARY
buyer VARBINARY
price_usd DOUBLE sale price in USD
amount_original DOUBLE sale price in native currency
currency_symbol VARCHAR 'ETH', 'WETH', etc.
tx_hash VARBINARY

Token Holders / Balances

tokens_{chain}.balances_daily — daily token balance snapshots per address

Column Type Description
day DATE snapshot date
blockchain VARCHAR
address VARBINARY holder address
token_address VARBINARY
symbol VARCHAR
amount DOUBLE balance (human readable)
amount_usd DOUBLE USD value
last_updated TIMESTAMP

Note: For "top holders right now", filter WHERE day = (SELECT MAX(day) FROM tokens_ethereum.balances_daily)


Protocol-Specific: Aave V3

aave_v3_{chain}.Pool_evt_Supply — deposits aave_v3_{chain}.Pool_evt_Withdraw — withdrawals aave_v3_{chain}.Pool_evt_Borrow — borrows aave_v3_{chain}.Pool_evt_Repay — repayments aave_v3_{chain}.Pool_evt_LiquidationCall — liquidations

Common columns: evt_block_time, evt_tx_hash, reserve (asset address), user, amount

Chains: aave_v3_ethereum, aave_v3_arbitrum, aave_v3_optimism, aave_v3_base, aave_v3_polygon


Stablecoins

stablecoins.transfers — cross-chain stablecoin transfers (USDC, USDT, DAI, etc.)

Column Type Description
block_time TIMESTAMP
blockchain VARCHAR
symbol VARCHAR 'USDC', 'USDT', 'DAI'
"from" VARBINARY
"to" VARBINARY
amount DOUBLE human-readable
amount_usd DOUBLE
tx_hash VARBINARY

Cross-chain Labels

labels.addresses — known address labels (exchanges, protocols, whales)

Column Type Description
address VARBINARY
blockchain VARCHAR
name VARCHAR human label (e.g. 'Binance 14')
category VARCHAR 'cex', 'defi', 'nft', 'whale'
contributor VARCHAR who submitted the label
source VARCHAR
created_at TIMESTAMP

Useful for enriching wallet addresses with names.


Supported Blockchains (common)

ethereum, arbitrum, optimism, base, polygon, bnb, avalanche_c, gnosis, fantom, celo, solana, zksync, scroll, linea, mantle

Call listBlockchains for the full current list.

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts1mo3 checks · Risk SAFE
  • Gen Agent Trust Hub1mo

    The skill provides an expert interface for querying blockchain data via Dune Analytics, incorporating detailed SQL templates and optimization strategies. It includes robust defensive mechanisms such as credit budget thresholds (500/700 credits) and multi-key rotation to manage costs. The primary security consideration is the risk of indirect prompt injection from processing attacker-controlled blockchain data, which is handled through standard agent execution flows with budget-aware safeguards.

  • Socket1mo

    No alerts

  • Snyk1mo

    Risk: LOW · No issues

Signed by skilld at 8100600. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub last month.

Steadyupdated 7 months ago
Other metadata
compatibility
{
  "tools": [
    "mcp__dune__searchTables",
    "mcp__dune__searchTablesByContractAddress",
    "mcp__dune__createDuneQuery",
    "mcp__dune__executeQueryById",
    "mcp__dune__getExecutionResults",
    "mcp__dune__getDuneQuery",
    "mcp__dune__updateDuneQuery",
    "mcp__dune__generateVisualization",
    "mcp__dune__listBlockchains",
    "mcp__dune__searchDocs",
    "mcp__dune__getTableSize",
    "mcp__dune__getUsage"
  ]
}

README badge

README badge for vo1ganin/crypto-claude-skills/dune