You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Additionally there could be pending: number on the SteamUser.wallet like
constuser=newSteamUser();// login and stuffuser.once("wallet",()=>{consttotal=user.wallet.balance+user.wallet.pending;});
Other Ideas
Because the pending balance and normal balance never change with a single transaction, it would also be an option to add a new event for "pendingWallet" which gets emmited once the pending balance changes.
The text was updated successfully, but these errors were encountered:
Problem
There is no option to get an accounts pending balance.
Suggested solution
Emit a pending flag with the "wallet" event.
Example:
Additionally there could be
pending: number
on theSteamUser.wallet
likeOther Ideas
Because the pending balance and normal balance never change with a single transaction, it would also be an option to add a new event for "pendingWallet" which gets emmited once the pending balance changes.
The text was updated successfully, but these errors were encountered: