بنقرة واحدة
dune
Execute and query Dune Analytics dashboards for on-chain data and custom SQL analytics.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Execute and query Dune Analytics dashboards for on-chain data and custom SQL analytics.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
Trustless ERC-8183 job evaluation — run Client's verification program inside a zkVM with ZK proof.
Binance official spot trading skill — place orders, manage accounts, and access real-time market data via Binance Spot API. Sourced from github.com/binance/binance-skills-hub.
Create, fund, and settle on-chain agent jobs via ERC-8183 Agentic Commerce Protocol.
Binance Web3 official skill — query any wallet address for token holdings, balances, and portfolio data across BSC, Base, and Solana. Sourced from github.com/binance/binance-skills-hub.
Binance Web3 official skill — crypto market rankings including trending tokens, smart money inflow, social hype, meme ranks, and top trader PnL leaderboards. Sourced from github.com/binance/binance-skills-hub.
Binance Web3 official skill — real-time meme token launchpad tracking and AI-powered trending topic discovery on Solana and BSC. Sourced from github.com/binance/binance-skills-hub.
استنادا إلى تصنيف SOC المهني
| name | dune |
| description | Execute and query Dune Analytics dashboards for on-chain data and custom SQL analytics. |
| metadata | {"cryptoclaw":{"emoji":"🔮","requires":{"env":["DUNE_API_KEY"]},"primaryEnv":"DUNE_API_KEY"}} |
Execute SQL queries on blockchain data, fetch dashboard results, and access curated datasets via the Dune API.
https://api.dune.com/api/v1
Requires API key: set DUNE_API_KEY. Free tier available at https://dune.com/settings/api
Pass via header: X-Dune-API-Key: {key}
POST /query/{query_id}/execute
Body (optional filters):
{
"query_parameters": {
"wallet_address": "0x...",
"token_address": "0x..."
}
}
Returns execution_id for polling.
GET /execution/{execution_id}/status
States: QUERY_STATE_PENDING, QUERY_STATE_EXECUTING, QUERY_STATE_COMPLETED, QUERY_STATE_FAILED
Poll every 2-3 seconds until completed.
GET /execution/{execution_id}/results
Returns rows as JSON with column metadata. Use ?limit=100&offset=0 for pagination.
GET /query/{query_id}/results
Returns cached results from the last execution without re-running. Fast and free of execution credits.
| Query ID | Description |
|---|---|
3237721 | Top DEX traders by volume (7d) |
3105506 | Whale token transfers (24h) |
2030664 | Stablecoin flows by chain |
1847958 | NFT marketplace volume comparison |
3532352 | Bridge volume across chains |
2474310 | Gas spent by protocol (Ethereum) |
Note: Public query IDs may change or become unavailable. Verify before relying on them.
POST /query
Body:
{
"name": "My Query",
"query_sql": "SELECT * FROM ethereum.transactions WHERE \"from\" = {{wallet_address}} ORDER BY block_time DESC LIMIT 100",
"is_private": false
}
| Table | Chain | Description |
|---|---|---|
ethereum.transactions | ETH | All transactions |
bnb.transactions | BSC | BSC transactions |
polygon.transactions | Polygon | Polygon transactions |
arbitrum.transactions | Arbitrum | Arbitrum transactions |
erc20_ethereum.evt_Transfer | ETH | ERC-20 transfer events |
erc20_bnb.evt_Transfer | BSC | BEP-20 transfer events |
dex.trades | Multi | Aggregated DEX trades |
nft.trades | Multi | Aggregated NFT trades |
prices.usd | Multi | Token prices (hourly) |
tokens.erc20 | Multi | Token metadata |
"from", "to"0x prefix works, use LOWER() for case-insensitive matchingblock_time is TIMESTAMP type, use NOW() - INTERVAL '7' DAY for rangesSUM(), COUNT(), AVG(), GROUP BYLIMIT always — avoid unbounded queriesWallet transaction count (last 30 days):
SELECT COUNT(*) as tx_count, SUM(value / 1e18) as total_eth
FROM ethereum.transactions
WHERE "from" = {{wallet_address}}
AND block_time > NOW() - INTERVAL '30' DAY
Top tokens by transfer volume (24h):
SELECT t.symbol, COUNT(*) as transfers, SUM(evt.value / POW(10, t.decimals)) as volume
FROM erc20_ethereum.evt_Transfer evt
JOIN tokens.erc20 t ON t.contract_address = evt.contract_address AND t.blockchain = 'ethereum'
WHERE evt.evt_block_time > NOW() - INTERVAL '1' DAY
GROUP BY t.symbol
ORDER BY transfers DESC
LIMIT 20
/query/{id}/results) do not count against execution limitsGET /query/{id}/results) over re-executing queries to conserve creditsquery_parameter rather than hardcodingLIMIT in custom SQL to avoid timeouts and large payloadsdebank for real-time portfolio data and defillama for protocol-level TVLUser: "Show top DEX traders this week" → Fetch cached results from query 3237721, present top 10 by volume
User: "How many transactions has my wallet done?" → Execute custom query with wallet_address parameter, report count and total value
User: "What are the biggest token transfers today?" → Fetch cached whale transfer query, present top movers
User: "Write a query to find all USDT transfers over $100k on BSC"
→ Create custom SQL on erc20_bnb.evt_Transfer, filter by USDT address and amount threshold