1
Get current balance or budget when using WebLN
β
Done
D
dev.thebells1111Mar 22, 2023
When using the Alby API, there's an endpoint to get the user's balance. When using the web extension, you can see the current balance by clicking the Alby icon in the browser bar. For an app that is using WebLN, it would be nice to have a way to display the current balance, or even better the current budget, within the app. This way, when a user is streaming sats to a service, or sending a boost, they can see how many sats they have left in their budget without having to click the Alby icon.
Comments
Merged the PR, will be included in the next release
We are working on that. You can follow our progress here, should be in one of the next releases:
https://github.com/getAlby/lightning-browser-extension/pull/2270