parse_invoice
Decode BOLT-11 invoices to extract payment details using a Lightning Network-compatible tool, enabling efficient invoice processing and integration with Lightning addresses.
Instructions
Parse a BOLT-11 lightning invoice
Input Schema
Name | Required | Description | Default |
---|---|---|---|
invoice | Yes | the bolt11 invoice |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"invoice": {
"description": "the bolt11 invoice",
"type": "string"
}
},
"required": [
"invoice"
],
"type": "object"
}