Lightning (WebLN) API Reference
All methods are asynchronous. Detect the provider before calling a method, and handle rejected promises, including declined wallet requests. Examples using top-level await must run in an ES module or an async function.
Last updated on