Inspect description_hash tag and validate hash format — 5 sats
Extract BOLT11 description_hash metadata (tag h), validate normalized hash format/length, and classify whether the invoice is hash-only, plaintext-only, or both.
5 sats via L402.
curl -X POST https://maximumsats.com/api/bolt11-description-hash \
-H "Content-Type: application/json" \
-d '{"invoice": "lnbc..."}'
{
"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"
}