← Back to directory

Decode a BOLT11 Lightning invoice into amount, payee, payment hash, expiry and r...

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

Overview

Decode a BOLT11 Lightning invoice into amount, payee, payment hash, expiry and route hints; no payment sent. Use when an agent must read a Lightning invoice (lnbc...) before paying it: amount, payee, expiry, payment hash.

Protocol x402 (POST)
Price $0.0010
Payment Asset USD Coin
Payment Network Base
Category uncategorized
Provider Tanod chainpeek
Source bazaar
Indexed 2026-10-13 21:29:40

Health

Status healthy
Latency (p50) 654ms
Uptime (30d) 100.0%
Reliability Score 90/100
Last Checked 2026-12-06 04:16:46
Last Healthy 2026-12-06 04:16:46
Consecutive Failures 0

x402 Payment Validation

Payment Requirements Valid
Asset Verified Known USDC
Facilitator —

Input Schema

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

Output Schema

{ "example": { "amount_btc": "0.00250000000", "amount_msat": 250000000, "amount_sat": 250000, "created_at": "2017-06-01T10:57:38Z", "expires_at": "2017-06-01T10:58:38Z", "expiry_explicit": true, "expiry_seconds": 60, "network": "bitcoin", "prefix": "lnbc", "timestamp": 1496314658 }, "type": "json" }

Recent Health Checks

Time Status HTTP Latency Error
2026-12-06 04:16:46 healthy 402 654ms