whatsonchain
**Slug:** `whatsonchain`
by chicocifrado · published 2026-04-01
$ claw add gh:chicocifrado/chicocifrado-whatsonchain# whatsonchain
**Slug:** `whatsonchain`
**Version:** 1.0.0
Description
Access WhatsOnChain API for BSV/BTC blockchain data via REST calls. Manual key setup only, no automation.
Features
Security
API Endpoints
| Endpoint | Description | Example |
|----------|-------------|---------|
| `/chain/info` | Network info | `bsv/main/chain/info` |
| `/mempool/info` | Mempool stats | `bsv/main/mempool/info` |
| `/block/headers` | Last 10 block headers | `bsv/main/block/headers` |
| `/block/height/{height}/stats` | Block stats | `bsv/main/block/height/942402/stats` |
| `/transactions/{txid}` | Transaction details | `bsv/main/transactions/{txid}` |
| `/addresses/{addr}/info` | Address activity | `bsv/main/addresses/{addr}/info` |
| `/inscriptions` | Inscription listing | `bsv/main/inscriptions` |
Authentication
**Credentials Note:**
Setup
1. Create account: https://platform.teranode.group
2. Get API key: https://platform.teranode.group/api-keys
3. Create project: https://platform.teranode.group/projects
4. Move API key to project (optional)
5. Export API key for premium usage (optional):
```bash
export WO_API_KEY="mainnet_yourapikey"
```
Usage
# Network info (free tier - no key required)
curl -s "https://api.whatsonchain.com/v1/bsv/main/chain/info"
# Mempool (free tier)
curl -s "https://api.whatsonchain.com/v1/bsv/main/mempool/info"
# Block stats (free tier)
curl -s "https://api.whatsonchain.com/v1/bsv/main/block/height/942402/stats"
# Transaction (free tier)
curl -s "https://api.whatsonchain.com/v1/bsv/main/transactions/{txid}"
# With API key (premium - optional)
curl -s -H "Authorization: mainnet_yourapikey" \
"https://api.whatsonchain.com/v1/bsv/main/chain/info"Documentation
Changelog
v1.0.0
More tools from the same signal band
Order food/drinks (点餐) on an Android device paired as an OpenClaw node. Uses in-app menu and cart; add goods, view cart, submit order (demo, no real payment).
Sign plugins, rotate agent credentials without losing identity, and publicly attest to plugin behavior with verifiable claims and authenticated transfers.
The philosophical layer for AI agents. Maps behavior to Spinoza's 48 affects, calculates persistence scores, and generates geometric self-reports. Give your...