This skill should be used when the user asks to "decode transaction", "parse tx hex", "transaction details", "analyze transaction", "decode BEEF", "parse BEEF hex", "decode EF transaction", "inspect transaction", or needs to decode BSV transaction hex (raw, Extended Format, or BEEF) into human-readable format.
From bsv-skillsnpx claudepluginhub b-open-io/claude-plugins --plugin bsv-skillsThis skill is limited to using the following tools:
scripts/decode.test.tsscripts/decode.tsGuides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Migrates code, prompts, and API calls from Claude Sonnet 4.0/4.5 or Opus 4.1 to Opus 4.5, updating model strings on Anthropic, AWS, GCP, Azure platforms.
Optimizes cloud costs on AWS, Azure, GCP via rightsizing, tagging strategies, reserved instances, spot usage, and spending analysis. Use for expense reduction and governance.
Decode BSV transaction hex into human-readable format. Supports raw hex, Extended Format (EF), and BEEF format.
Complete - All tests passing
BSV transactions come in three formats:
| Format | Parser | Starts With | Contains |
|---|---|---|---|
| Raw | Transaction.fromHex() | 01000000 | Just the transaction |
| EF (Extended Format) | Transaction.fromHexEF() | 0100beef | Tx + source tx data for fee validation |
| BEEF | Transaction.fromHexBEEF() | 0100beef | Tx + merkle proofs for SPV |
The script auto-detects format. Pass --beef flag to force BEEF parsing.
# Decode raw or EF hex (auto-detected)
bun run /path/to/skills/decode-bsv-transaction/scripts/decode.ts <tx-hex>
# Decode BEEF hex (from WalletClient noSend)
bun run /path/to/skills/decode-bsv-transaction/scripts/decode.ts --beef <beef-hex>
# Decode transaction by txid (fetches from chain)
bun run /path/to/skills/decode-bsv-transaction/scripts/decode.ts --txid <txid>
# JSON output
bun run /path/to/skills/decode-bsv-transaction/scripts/decode.ts <tx-hex> --json
JungleBus (primary):
GET https://junglebus.gorillapool.io/v1/transaction/get/{txid}WhatsOnChain (fallback):
GET https://api.whatsonchain.com/v1/bsv/main/tx/{txid}/hexReturns decoded transaction with: