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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"address": "<address>",
"amount_sats": "<amount_sats>"
},
"name": "nwc_pay_lightning_address"
}
}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. |