event icon indicating copy to clipboard operation
event copied to clipboard

Show on-chain confirmation counter for channel-opening-TX

Open myxmaster opened this issue 1 year ago • 4 comments

Describe the feature

When clicking on a pending channel, it would be cool to see the amount of on-chain confirmations for the channel-opening-TX.

myxmaster avatar Aug 17 '23 21:08 myxmaster

https://lightning.engineering/api-docs/api/lnd/lightning/pending-channels#lnrpcpendingchannelsresponsependingopenchannel

Could use funding_expiry_blocks here

kaloudis avatar Feb 26 '24 05:02 kaloudis

I wanted to get the number of confirmations first using this method: https://lightning.engineering/api-docs/api/lnd/wallet-kit/get-transaction

But when testing this with a local Polar LND node (0.17.5) I only get a 501 Not Implemented error. Any ideas?

myxmaster avatar May 22 '24 19:05 myxmaster

@myxmaster this is a v0.18 endpoint https://github.com/lightningnetwork/lnd/blob/master/docs/release-notes/release-notes-0.18.0.md#rpc-additions

kaloudis avatar May 22 '24 21:05 kaloudis

Ohh I see, thanks...

myxmaster avatar May 22 '24 21:05 myxmaster