nwc_pay_lnurl
Pay a raw LNURL-pay endpoint (bech32 lnurl1... string) to send satoshis. Decodes the LNURL, resolves the pay request, and applies safety checks: allowlist, budget cap, optional confirmation.
Instructions
Pay a raw LNURL-pay endpoint (bech32 lnurl1... string). Decodes the LNURL, resolves the pay request, then runs the safety pipeline (read-only gate, allowlist check on the LNURL, budget cap, optional two-step confirmation). Use nwc_pay_lightning_address when you have a name@domain.tld instead.
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": {
"lnurl": "<lnurl>",
"amount_sats": "<amount_sats>"
},
"name": "nwc_pay_lnurl"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lnurl | Yes | A raw LNURL string (bech32, starts with lnurl1...; an optional lightning: prefix is stripped). | |
| comment | No | Optional comment, only sent if the endpoint advertises LUD-12 comment support. | |
| amount_sats | Yes | Amount to send in satoshis. Must fall within the endpoint's [min, max] range. |