← 返回
开发者工具 Key 中文

Spacescan

Access Chia blockchain data including blocks, transactions, addresses, CAT tokens, NFTs, network stats, and XCH price via Spacescan.io API with an API key.
{"answer":"使用Spacescan.io API密钥访问奇亚区块链数据,包括区块、交易、地址、CAT代币、NFT、网络统计及XCH价格。"}
koba42corp
开发者工具 clawhub v1.0.0 1 版本 99843.9 Key: 需要
★ 1
Stars
📥 1,899
下载
💾 28
安装
1
版本
#latest

概述

Spacescan Skill

Explore the Chia blockchain via Spacescan.io API.

What It Does

  • View blocks and transactions
  • Check address balances
  • Monitor network statistics
  • Search blockchain data
  • Track CAT tokens and NFTs
  • Get XCH price

⚠️ API Key Required

Spacescan requires an API key. Get yours at: https://www.spacescan.io/apis

Set the environment variable:

export SPACESCAN_API_KEY=your_key_here

Or add to your shell profile (~/.zshrc or ~/.bashrc):

echo 'export SPACESCAN_API_KEY=your_key_here' >> ~/.zshrc
source ~/.zshrc

Commands

All commands can be triggered via:

  • /scan in Telegram
  • /spacescan in Telegram
  • scan in CLI
  • spacescan in CLI

Blocks

/scan block latest          Get latest block
/scan block <height>        Get block by height
/scan block <hash>          Get block by hash
/scan blocks <start> <end>  Get block range

Transactions

/scan tx <id>               Get transaction details

Addresses

/scan address <addr>        Get address info
/scan address balance <a>   Get address balance
/scan address txs <addr>    Get recent transactions

Coins

/scan coin <id>             Get coin details

Network

/scan stats                 Network statistics
/scan network               Network info
/scan space                 Network space (EiB)
/scan mempool               Mempool status
/scan price                 XCH price

Tokens

/scan cats                  List CAT tokens
/scan cat <id>              Get CAT details

NFTs

/scan nft <id>              Get NFT details

Search

/scan search <query>        Search blockchain
/scan <long_hash>           Quick search

Agent Usage

const { handleCommand } = require('./skills/spacescan');

// Requires SPACESCAN_API_KEY environment variable
const output = await handleCommand('block latest');

API Client

const SpacescanAPI = require('./skills/spacescan/lib/api');
const api = new SpacescanAPI('your-api-key');

// Get latest block
const block = await api.getLatestBlock();

// Get address balance
const balance = await api.getAddressBalance('xch1...');

// Get network stats
const stats = await api.getNetworkStats();

// Search
const result = await api.search('xch1...');

Installation

cd skills/spacescan
npm install
chmod +x cli.js
npm link  # Makes 'scan' and 'spacescan' global

Configuration

Required: Set your API key

export SPACESCAN_API_KEY=your_key_here

Get your key at: https://www.spacescan.io/apis

Free tier available with rate limits.

Examples

Check latest block:

/scan block latest

Get address balance:

/scan address balance xch1...

Network stats:

/scan stats

XCH price:

/scan price

Support

  • Spacescan: https://www.spacescan.io
  • API Plans: https://www.spacescan.io/apis
  • Bug reports: File in skill repository

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-28 18:21 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-intelligence

Sage Wallet

koba42corp
通过 RPC 与 Sage Chia 区块链钱包交互。用于 XCH 交易、CAT 代币、NFT、DID、报价、期权、币管理及钱包配置。支持跨平台(Mac/Linux/Windows),可配置 RPC 端点和 SSL 证书。使用 /sage
★ 1 📥 2,084
developer-tools

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 68 📥 180,450
developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 672 📥 324,503