lightning icon indicating copy to clipboard operation
lightning copied to clipboard

grpc: Add "created_at" to listInvoices rpc

Open michaelWuensch opened this issue 1 year ago • 0 comments

I try to display a nice transaction history, but I cannot insert an unpaid invoice into the timeline at the correct position, as there is no information on when it was created.

Either a "created_at" timestamp is needed, or an "expiry" field has to be provided. In the second case I could calculate the created_at by doing "expires_at" - "expiry".

Link to the docs for the enpoint that needs the change: https://docs.corelightning.org/reference/lightning-listinvoices

michaelWuensch avatar Mar 23 '24 13:03 michaelWuensch