pull down to refresh
Sounds good, we can just add a shape then for available_sats without an actual debit that you can use to populate UI when you fire getBalance
reply
pull down to refresh
Sounds good, we can just add a shape then for available_sats without an actual debit that you can use to populate UI when you fire getBalance
We implement
getBalanceas an independent periodic poll to the wallet/node provider/endpoint. Supporting other patterns is not something we'll likely pursue anytime soon. Regardless, at worst, a wallet/provider without agetBalance-like RPC to poll will just showbalance unavailable. Not ideal, but also not that bad either.We don't gate payment attempts by balance showing a sufficient amount. We attempt payment then process responses very carefully and conservatively (ie to not invite double pays). Balances are for human eyeballs only so that customers can determine in advance if a payment will succeed or not.