Api Endpoint

Tanod chainpeek

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.

Open interactive test console

Offering

Provider
tanod.dev
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Blockchain And Crypto
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://tanod.dev/v1/chain/bolt11/decode
MIME type
application/json
First seen
2026-10-16T01:51:02.144Z
Last seen
Tags
chainpeek, chain, bolt11, decode, ENS

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.001 USDC
Atomic price: 1000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.001 USDC
Atomic price: 1000 · Network: eip155:137 · Asset: USDC · Scheme: exact
Payment option 3
0.001 USDC
Atomic price: 1000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Payment option 4
0.001 USDC
Atomic price: 1000000000000000 · Network: eip155:56 · Asset: USDC · Scheme: exact
Payment option 5
0.001 USDC
Atomic price: 1000 · Network: eip155:42161 · Asset: USDC · Scheme: exact
Payment option 6
0.001 USDC
Atomic price: 1000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 7
0.001 USDC
Atomic price: 1000 · Network: eip155:137 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "1000",
    "payTo": "0x593857A4a4F619543ea12394137C3004ce841720"
  },
  {
    "scheme": "exact",
    "network": "eip155:137",
    "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
    "amount": "1000",
    "payTo": "0x593857A4a4F619543ea12394137C3004ce841720"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "1000",
    "payTo": "RMk9k3VC8dr4hhjgFh88rGhjAbzfBzHxJJ5n2fTcqus"
  },
  {
    "scheme": "exact",
    "network": "eip155:56",
    "asset": "0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d",
    "amount": "1000000000000000",
    "payTo": "0x593857A4a4F619543ea12394137C3004ce841720"
  },
  {
    "scheme": "exact",
    "network": "eip155:42161",
    "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
    "amount": "1000",
    "payTo": "0x593857A4a4F619543ea12394137C3004ce841720"
  },
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "1000",
    "payTo": "0x593857A4a4F619543ea12394137C3004ce841720"
  },
  {
    "scheme": "exact",
    "network": "eip155:137",
    "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
    "amount": "1000",
    "payTo": "0x593857A4a4F619543ea12394137C3004ce841720"
  }
]

Observed health

Status
Healthy
Latest latency
1284 ms
Average latency
1148 ms
HTTP status
204
Last checked
Reachability
100% over 12 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "POST"
      ]
    },
    "bodyType": {
      "type": "string",
      "enum": [
        "json",
        "form-data",
        "text"
      ]
    },
    "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"
    }
  },
  "required": [
    "type",
    "method",
    "bodyType",
    "body"
  ],
  "additionalProperties": false
}

Output schema

{
  "$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"
}