lookup-block-info
Installation
SKILL.md
Lookup Block Info
Retrieve detailed block information from the BSV blockchain.
API
Uses WhatsOnChain for complete block data (size, txcount, difficulty, previousblockhash). JungleBus /v1/block_header/get/{hash} only provides header fields - use that directly if you only need hash, height, time, merkleroot.
When to Use
- Get block data by height
- Get block data by hash
- View block statistics (size, tx count, etc.)
Usage
# Lookup by height
bun run skills/lookup-block-info/scripts/lookup.ts --height 800000