nwc_decode_invoice
Decode a bolt11 Lightning invoice locally without network calls to inspect amount, description, payment hash, expiry, payee, and network before payment.
Instructions
Decode a bolt11 Lightning invoice locally (no network call). Returns amount in sats, description, payment hash, expiry, payee pubkey, and network. Use this before pay_invoice to confirm the invoice contents.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| invoice | Yes | The bolt11 invoice string to decode. |