Get current balance or budget when using WebLN
👷 In progress
Mar 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.
We are working on that. You can follow our progress here, should be in one of the next releases: