Decode Lightning Invoice
decode_invoiceDecode a BOLT11 invoice to inspect its amount, description, expiry, and payment hash before Lightning payment.
Instructions
Decode a BOLT11 invoice to inspect its amount, description, expiry, and payment hash.
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": {
"invoice": "<invoice>"
},
"name": "decode_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| invoice | Yes | BOLT11 Lightning invoice to decode |