decode_bolt11_invoice
Decode BOLT11 Lightning invoices to extract network, amount, and timestamp data for Bitcoin payment analysis without external dependencies.
Instructions
Decode a BOLT11 Lightning invoice without external dependencies.
Parses the human-readable part to extract network, amount, and timestamp. Does NOT verify the signature or parse tagged fields beyond basic extraction.
Args: invoice: BOLT11 payment request string (starts with lnbc, lntb, or lnbcrt)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| invoice | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |