Skip to main content
Crate fedimint_lnurl
fedimint_
lnurl
0.11.0-alpha
All Items
Crate Items
Structs
Enums
Functions
Crate
fedimint_
lnurl
Copy item path
Source
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 error case. Successful responses deserialize directly into
Ok(T)
, while error responses with
{"status": "ERROR", "reason": "..."}
fall back to
Error
.
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 string
pay_
request_
tag
request
Fetch and parse an LNURL-pay response
verify_
invoice
Verify a payment using LUD-21