pay_with_nwc
Pay BOLT-11 Lightning invoices via NIP-47 Nostr Wallet Connect. Provide the invoice and optional amount or timeout to complete the payment.
Instructions
Pay a BOLT-11 Lightning invoice via NIP-47 Nostr Wallet Connect (alias).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nwcUri | No | Optional NWC connection URI (falls back to env NWC_CONNECTION_URI) | |
| invoice | Yes | BOLT-11 Lightning invoice | |
| timeoutMs | No | Timeout in milliseconds (default: 15000) | |
| amountMsat | No | Optional amount in millisatoshis for amountless invoices |