ToolAssay

chainpeek (Tanod) Lightning invoice decoder

chainpeek (Tanod) Lightning invoice decoder: BOLT11 payment request to amount, payee, payment hash, expiry and route hints. Pure computation. Use when an agent must read a Lightning invoice (lnbc...) before paying it: amount, payee, expiry, payment hash.

Answeringour last check, 2026-10-18
1 of 1checks answered this week
204 msmedian answer time
$0.001listed price per call
$0.001price it asked us

Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.

Endpoint

POST https://tanod.dev/v1/chain/bolt11/decode

CategoryEverything else
Provider hosttanod.dev
Networkseip155:137, eip155:42161, eip155:56, eip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp
Payment schemesexact
Self-reported calls, 30 days2 from 2 payers (the provider's figure, not ours)

Our checks, last 30 days

DayResultHTTPAskedTime
2026-10-18 valid payment request 402$0.001 204 ms

Example input (from the provider)

{
  "body": {
    "invoice": "lnbc2500u1pvjluezpp5qqqsyqcyq5rqwzqfqqqsyqcyq5rqwzqfqqqsyqcyq5rqwzqfqypqdq5xysxxatsyp3k7enxv4jsxqzpuaztrnwngzn3kdzw5hydlzf03qdgm2hdq27cqv3agm2awhz5se903vruatfhq77w3ls4evs3ch9zw97j25emudupq63nyw24cg27h2rspfj9srp"
  },
  "bodyType": "json",
  "method": "POST",
  "type": "http"
}

Promised output schema (from the provider)

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "body": {
          "additionalProperties": false,
          "properties": {
            "invoice": {
              "description": "A BOLT11 Lightning invoice (lnbc..., lntb..., lntbs... or lnbcrt...); an optional 'lightning:' prefix and upper case are accepted.",
              "maxLength": 6000,
              "minLength": 10,
              "type": "string"
            }
          },
          "required": [
            "invoice"
          ],
          "type": "object"
        },
        "bodyType": {
          "enum": [
            "json",
            "form-data",
            "text"
          ],
          "type": "string"
        },
        "method": {
          "enum": [
            "POST"
          ],
          "type": "string"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method",
        "bodyType",
        "body"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "description": "Abridged to fit the header. Full example: the 402 JSON body. Full schema: https://tanod.dev/openapi.json POST /v1/chain/bolt11/decode",
          "properties": {
            "amount_btc": {
              "type": [
                "string",
                "null"
              ]
            },
            "amount_msat": {
              "type": [
                "integer",
                "null"
              ]
            },
            "amount_sat": {
              "type": [
                "number",
                "null"
              ]
            },
            "created_at": {
              "type": [
                "string",
                "null"
              ]
            },
            "description": {
              "type": [
                "string",
                "null"
              ]
            },
            "description_hash": {
              "type": [
                "string",
                "null"
              ]
            },
            "expired": {
              "type": "boolean"
            },
            "expires_at": {
              "type": [
                "string",
                "null"
              ]
            },
            "expires_in_seconds": {
              "type": "integer"
            },
            "expiry_explicit": {
              "type": "boolean"
            },
            "expiry_seconds": {
              "type": "integer"
            },
            "fallback_address_count": {
              "type": "integer"
            },
            "features": {
              "type": "array"
            },
            "has_payment_secret": {
              "type": "boolean"
            },
            "min_final_cltv_expiry_delta": {
              "type": "integer"
            },
            "min_final_cltv_expiry_explicit": {
              "type": "boolean"
            },
            "network": {},
            "note": {
              "type": "string"
            },
            "payee_pubkey": {
              "type": [
                "string",
                "null"
              ]
            },
            "payee_pubkey_source": {},
            "payment_hash": {
              "type": [
                "string",
                "null"
              ]
            },
            "payment_metadata": {
              "type": [
                "string",
                "null"
              ]
            },
            "prefix": {
              "type": "string"
            },
            "route_hint_count": {
              "type": "integer"
            },
            "route_hints": {
              "type": "array"
            },
            "server_time": {
              "type": [
                "string",
                "null"
              ]
            },
            "signature_valid": {
              "type": [
                "boolean",
                "null"
              ]
            },
            "timestamp": {
              "type": "integer"
            },
            "unknown_field_tags": {
              "type": "array"
            },
            "warnings": {
              "type": "array"
            }
          },
          "required": [
            "network",
            "amount_msat",
            "created_at",
            "expiry_seconds",
            "expires_at",
            "expired",
            "payee_pubkey",
            "signature_valid",
            "payment_hash",
            "route_hint_count",
            "features",
            "note"
          ],
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}

This page as JSON