Spacescan

# Spacescan Skill

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "Spacescan" with this command: npx skills add koba42corp/spacescan

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 <command> in Telegram
  • /spacescan <command> in Telegram
  • scan <command> in CLI
  • spacescan <command> 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

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Web3

Gate Exchange Multi-Collateral Loan

Gate multi-collateral loan management skill. Use when the user asks to borrow crypto against collateral or manage existing loans. Triggers on 'collateral loa...

Registry SourceRecently Updated
Web3

Web3 Daily

Web3 public research digest service. Provides daily digest with macro news, KOL sentiment, and real-time market data (BTC/ETH prices, Fear & Greed Index). No...

Registry SourceRecently Updated
Web3

Guard

Deep AI safety guardrails workflow—policy definition, input/output filtering, monitoring, escalation, and false-positive handling. Use when reducing harmful...

Registry SourceRecently Updated
2690Profile unavailable
Web3

Identity Primitive Chain Prompt

身份基元链提示词 — 认知操作系统内核。 完整规范与执行协议见 references/身份基元链提示词·技术规范与执行协议.md(本文件仅含元数据与原文)。

Registry SourceRecently Updated
1130Profile unavailable