{"slug":"tanod-dev-v1-chain-bolt11-decode-26b72c","title":"chainpeek (Tanod) Lightning invoice decoder","host":"tanod.dev","method":"POST","resource":"https://tanod.dev/v1/chain/bolt11/decode","category":"other","description":"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.","price_listed":0.001,"price_asked":0.001,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":204,"reported_calls_30d":2,"reported_payers_30d":2,"networks":["eip155:137","eip155:42161","eip155:56","eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"invoice":"lnbc2500u1pvjluezpp5qqqsyqcyq5rqwzqfqqqsyqcyq5rqwzqfqqqsyqcyq5rqwzqfqypqdq5xysxxatsyp3k7enxv4jsxqzpuaztrnwngzn3kdzw5hydlzf03qdgm2hdq27cqv3agm2awhz5se903vruatfhq77w3ls4evs3ch9zw97j25emudupq63nyw24cg27h2rspfj9srp"},"bodyType":"json","method":"POST","type":"http"},"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"},"history":[{"day":"2026-10-18","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.001,"price_match":true,"latency_ms":204,"error":null}],"description_full":"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.","last_updated":"2026-10-15T02:54:50.615Z","schemes":["exact"]}