analyzing-on-chain-data

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Analyzing On Chain Data

链上数据分析

Overview

概述

This skill provides automated assistance for the described functionality.
本Skill可为上述功能提供自动化辅助。

Prerequisites

前置条件

Before using this skill, ensure you have:
  • Access to crypto market data APIs (CoinGecko, CoinMarketCap, or similar)
  • Blockchain RPC endpoints or node access (Infura, Alchemy, or self-hosted)
  • API keys for exchanges if trading or querying account data
  • Web3 libraries installed (ethers.js, web3.py, or equivalent)
  • Understanding of blockchain concepts and crypto market dynamics
使用本Skill前,请确保您具备:
  • 可访问加密货币市场数据API(CoinGecko、CoinMarketCap或同类服务)
  • 区块链RPC端点或节点访问权限(Infura、Alchemy或自托管节点)
  • 若需进行交易或查询账户数据,需拥有交易所API密钥
  • 已安装Web3库(ethers.js、web3.py或同类库)
  • 了解区块链概念和加密货币市场动态

Instructions

操作步骤

  1. Use Read tool to load API credentials from {baseDir}/config/crypto-apis.env
  2. Configure blockchain RPC endpoints for target networks
  3. Set up exchange API connections if required
  4. Verify rate limits and subscription tiers
  5. Test connectivity and authentication
  6. Use Bash(crypto:onchain-*) to execute crypto data queries
  7. Fetch real-time prices, volumes, and market cap data
  8. Query blockchain for on-chain metrics and transactions
  9. Retrieve exchange order book and trade history
  10. Aggregate data from multiple sources for accuracy
See
{baseDir}/references/implementation.md
for detailed implementation guide.
  1. 使用Read工具从{baseDir}/config/crypto-apis.env加载API凭证
  2. 为目标网络配置区块链RPC端点
  3. 若有需要,建立交易所API连接
  4. 验证速率限制和订阅层级
  5. 测试连接性和身份验证
  6. 使用Bash(crypto:onchain-*)执行加密货币数据查询
  7. 获取实时价格、交易量和市值数据
  8. 查询区块链以获取链上指标和交易记录
  9. 检索交易所订单簿和交易历史
  10. 聚合多来源数据以确保准确性
详细实现指南请参阅
{baseDir}/references/implementation.md

Output

输出内容

  • Current prices across exchanges with spread analysis
  • 24h volume, market cap, and circulating supply
  • Price changes across multiple timeframes (1h, 24h, 7d, 30d)
  • Trading volume distribution by exchange
  • Liquidity metrics and slippage estimates
  • Transaction count and network activity
  • 各交易所当前价格及点差分析
  • 24小时交易量、市值和流通供应量
  • 多个时间区间(1小时、24小时、7天、30天)的价格变动
  • 按交易所划分的交易量分布
  • 流动性指标和滑点估算
  • 交易笔数和网络活动

Error Handling

错误处理

See
{baseDir}/references/errors.md
for comprehensive error handling.
完整的错误处理说明请参阅
{baseDir}/references/errors.md

Examples

示例

See
{baseDir}/references/examples.md
for detailed examples.
详细示例请参阅
{baseDir}/references/examples.md

Resources

资源

  • CoinGecko API for market data across thousands of assets
  • Etherscan API for Ethereum blockchain data
  • Dune Analytics for on-chain SQL queries
  • The Graph for decentralized blockchain indexing
  • ethers.js for Ethereum smart contract interaction
  • CoinGecko API:可获取数千种资产的市场数据
  • Etherscan API:用于查询以太坊区块链数据
  • Dune Analytics:用于链上SQL查询
  • The Graph:用于去中心化区块链索引
  • ethers.js:用于以太坊智能合约交互