Expand description
Decode and verify BOLT 12 offers, invoices, and payer proofs.
Structs§
- Blinded
Hop - Blinded
Path - Blinded message or payment path without onion ciphertext.
- Blinded
PayInfo - Check
- Error
- Machine-readable failure from decode or argument validation.
- Invoice
- Offer
- Payer
Proof - Unknown
Tlv - Unknown TLV in the invoice type range (160–239).
- Verify
Report
Enums§
- Amount
- Decoded
- Curated decode of a BOLT 12 string.
- Error
Kind - Introduction
Node - Verify
Kind
Functions§
- decode
- Decode a BOLT 12 bech32 string by HRP (
lno/lni/lnp). - verify_
payer_ proof - Verify an official BOLT 12 payer proof (
lnp1...) against an offer. - verify_
payment - Verify an Ocean-style offer + invoice + preimage triple.