Structs§
- Invoice
Response - Response when requesting an invoice from LNURL-pay callback
- PayResponse
- LNURL-pay response (LUD-06)
- Verify
Response - LUD-21 verify response
Enums§
- Lnurl
Response - Generic LNURL response wrapper that handles the status field. All LNURL responses follow the {“status”: “OK”|“ERROR”, …} pattern.
Functions§
- encode_
lnurl - Encode a URL as a bech32 LNURL string
- get_
invoice - Fetch an invoice from an LNURL-pay callback
- parse_
address - Parse a lightning address (user@domain) to its LNURL-pay endpoint URL
- parse_
lnurl - Decode a bech32-encoded LNURL string to a URL
- pay_
request_ tag - request
- Fetch and parse an LNURL-pay response
- verify_
invoice - Verify a payment using LUD-21