Spacescan
Skill by koba42corp
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/koba42corp/spacescanSpacescan 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 Telegramscan <command>in CLIspacescan <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
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-koba42corp-spacescan": {
"enabled": true,
"auto_update": true
}
}
}Related Skills
imsg-autoresponder
Monitor iMessage/SMS conversations and auto-respond based on configurable rules, AI prompts, and rate-limiting conditions. Use when you need to automatically reply to specific contacts with AI-generated responses based on conversation context. Also use when the user asks to manage auto-responder settings, contacts, prompts, or view status/history.
vinculum
Shared consciousness between Clawdbot instances. Links multiple bots into a collective, sharing memories, activities, and decisions in real-time over local network using Gun.js P2P sync.
rue-chialisp
Create Chia blockchain puzzles using Rue, a type-safe language that compiles to CLVM. Use for smart contract development, custom puzzle creation, or when user says "create a coin that...", "build a puzzle", "chialisp", "rue", "timelock", "multisig", "escrow", "atomic swap", or describes coin spending conditions.
sage-wallet
Interact with the Sage Chia blockchain wallet via RPC. Use for XCH transactions, CAT tokens, NFTs, DIDs, offers, options, coin management, and wallet configuration. Supports cross-platform setups (Mac/Linux/Windows) with configurable RPC endpoints and SSL certificates. Invoke with /sage commands or natural language like "send XCH", "check my NFTs", "create an offer", "mint a CAT token".
go4me
Send XCH to Twitter users via Go4Me address lookup. Use when sending Chia (XCH) to someone by their Twitter handle, looking up a Twitter user's XCH address, or tipping someone on Go4Me. Triggers on "send XCH to @user", "tip @user", "lookup @user on go4me", "what's @user's XCH address".