BOLT11 Payment-Hash Inspector

Inspect payment_hash and validate tag consistency — 5 sats

About

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.

Try It

5 sats via L402.

API Usage

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

Sample Response

{
  "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
}
Also available via MCP at maximumsats.com/mcp