fusion44 / fusion44/blitz_api

list-all-tx: list correct state of invoices

Open
#51 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
25
Forks
19
PR merge metrics
No merged PRs in 30d

Description

As a user I would like to know if my invoice was expired. Currently it just displays "failed"

The listinvoices define the "settled" and the "state" for that.

https://api.lightning.community/#lnrpc-invoice

EDIT: if the amount paid was 0 mSat then it wasn't settled. So if the state was "failed" + 0 mSat amount then do I guess correctly that the invoice expired?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.