WebLN
v0.3.2
WebLN
v0.3.2
Overview
IntroductionGetting StartedUX Best Practices
Client API Reference
requestProviderwebln.getInfowebln.sendPaymentwebln.makeInvoicewebln.signMessagewebln.verifyMessageErrors
GitHub
Edit this page on GitHub
Edit

webln.verifyMessage

Opens an external view where the user's client verifies the signature against the raw message, and let's the user know if it was valid. There's no return value, this method is intended purely for the user to verify a signature themselves without having to trust your website.

Parameters

function verifyMessage(signature: string, message: string): Promise<void>;

Demo

See source on GitHub