analyzing-on-chain-data
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseAnalyzing 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
操作步骤
- Use Read tool to load API credentials from {baseDir}/config/crypto-apis.env
- Configure blockchain RPC endpoints for target networks
- Set up exchange API connections if required
- Verify rate limits and subscription tiers
- Test connectivity and authentication
- Use Bash(crypto:onchain-*) to execute crypto data queries
- Fetch real-time prices, volumes, and market cap data
- Query blockchain for on-chain metrics and transactions
- Retrieve exchange order book and trade history
- Aggregate data from multiple sources for accuracy
See for detailed implementation guide.
{baseDir}/references/implementation.md- 使用Read工具从{baseDir}/config/crypto-apis.env加载API凭证
- 为目标网络配置区块链RPC端点
- 若有需要,建立交易所API连接
- 验证速率限制和订阅层级
- 测试连接性和身份验证
- 使用Bash(crypto:onchain-*)执行加密货币数据查询
- 获取实时价格、交易量和市值数据
- 查询区块链以获取链上指标和交易记录
- 检索交易所订单簿和交易历史
- 聚合多来源数据以确保准确性
详细实现指南请参阅。
{baseDir}/references/implementation.mdOutput
输出内容
- 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 for comprehensive error handling.
{baseDir}/references/errors.md完整的错误处理说明请参阅。
{baseDir}/references/errors.mdExamples
示例
See for detailed examples.
{baseDir}/references/examples.md详细示例请参阅。
{baseDir}/references/examples.mdResources
资源
- 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:用于以太坊智能合约交互