BOLT11 Description-Hash Inspector

Inspect description_hash tag and validate hash format — 5 sats

About

Extract BOLT11 description_hash metadata (tag h), validate normalized hash format/length, and classify whether the invoice is hash-only, plaintext-only, or both.

Try It

5 sats via L402.

API Usage

curl -X POST https://maximumsats.com/api/bolt11-description-hash \
  -H "Content-Type: application/json" \
  -d '{"invoice": "lnbc..."}'

Sample Response

{
  "ok": true,
  "currency": "bc",
  "payment_hash": "...",
  "has_description_hash": true,
  "description_hash": "...",
  "description_hash_hex_length": 64,
  "description_hash_format_valid": true,
  "has_explicit_description_hash_tag": true,
  "description_mode": "hash_only"
}
Also available via MCP at maximumsats.com/mcp