decode_invoice
Decode any BOLT11 invoice to view its amount, description, expiry, and destination without paying. Works without an API key or registration.
Instructions
Decode a BOLT11 invoice without paying it. Returns amount, description, expiry, and destination. No API key required — works before registering.
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": {
"bolt11": "<bolt11>"
},
"name": "decode_invoice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bolt11 | Yes | BOLT11 invoice string to decode |