Skip to content

[feature]: Add Address to UTXOLease #9745

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
michaelWuensch opened this issue Apr 20, 2025 · 2 comments
Open

[feature]: Add Address to UTXOLease #9745

michaelWuensch opened this issue Apr 20, 2025 · 2 comments
Labels
enhancement Improvements to existing features / behaviour

Comments

@michaelWuensch
Copy link

Is your feature request related to a problem? Please describe.

In my wallet I display the UTXO list to users. When a UTXO is leased for some reason it is no longer returned using the listUTXO rpc. Instead I additionally use the listLeases rpc and add them to my UTXO list and indicate clearly that they are locked. But Unfortunately I cannot display the associated address for the leases as the listLEases rpc does not provide it.

Describe the solution you'd like

https://lightning.engineering/api-docs/api/lnd/wallet-kit/list-leases/#walletrpcutxolease should have a "Address" property.

Describe alternatives you've considered

I can just display "Locked" instead of the address, but it is not a good User Experience.

@michaelWuensch michaelWuensch added the enhancement Improvements to existing features / behaviour label Apr 20, 2025
@alexbosworth
Copy link
Contributor

ListLeases does return pk_script which is the address in another format right?

@michaelWuensch
Copy link
Author

Yes, that seems correct. However, implementing it would require adding an external library such as BitcoinJ, which I’d prefer to avoid to keep dependencies minimal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvements to existing features / behaviour
Projects
None yet
Development

No branches or pull requests

2 participants