nwc_pay_lightning_address
Resolves a Lightning Address to a bolt11 invoice via LNURL-pay, enforces safety checks (allowlist, budget, confirmation), and returns the payment preimage.
Instructions
Pay a Lightning Address (e.g., alice@getalby.com). Resolves the LNURL-pay endpoint to a bolt11 invoice, then runs the safety pipeline (read-only gate, allowlist check on the LN address, budget cap, optional two-step confirmation). Returns preimage on success.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | The Lightning Address to pay (e.g., alice@getalby.com). | |
| comment | No | Optional comment for the recipient. Only sent if the LNURL-pay endpoint advertises comment support (LUD-12); otherwise rejected. | |
| amount_sats | Yes | Amount to send in satoshis. |