πwebln.lnurl()
Method
async function lnurl(lnurl: string): LNURLResponse;Response
type LNURLResponse =
| {
status: "OK";
data?: unknown
}
| { status: "ERROR"; reason: string };LNURL-pay Response
type LNURLPayResponse =
| {
status: "OK";
data: {
preimage: string,
paymentHash: string,
paymentRequest: string
}
}
| { status: "ERROR"; reason: string };LNURL-auth Response
Code Example
Demos
Last updated
Was this helpful?