exploring-blockchain-data

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Exploring Blockchain 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 (Alchemy, Chainstack, Infura, 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端点或节点访问权限(Alchemy、Chainstack、Infura或自托管节点)
  • 若需进行交易或查询账户数据,需持有对应交易所的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:explorer-*) 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:explorer-*)执行加密数据查询指令
  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
  • 支持链上SQL查询的Dune Analytics
  • 提供去中心化区块链索引服务的The Graph
  • 用于以太坊智能合约交互的ethers.js