Inspect payment_hash and validate tag consistency — 5 sats
Extract BOLT11 payment_hash metadata, verify hex format, and compare against explicit tag p values when present. Useful for retry-debugging and hash consistency checks.
5 sats via L402.
curl -X POST https://maximumsats.com/api/bolt11-payment-hash \
-H "Content-Type: application/json" \
-d '{"invoice": "lnbc..."}'
{
"ok": true,
"currency": "bc",
"payment_hash": "...",
"payment_hash_hex_length": 64,
"payment_hash_format_valid": true,
"has_explicit_payment_hash_tag": true,
"tag_payment_hash": "...",
"payment_hash_matches_tag": true
}