Crate fedimint_lnurl

Crate fedimint_lnurl 

Source

Structs§

InvoiceResponse
Response when requesting an invoice from LNURL-pay callback
PayResponse
LNURL-pay response (LUD-06)
VerifyResponse
LUD-21 verify response

Enums§

LnurlResponse
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