SparkWallet.
You can use the forceRefetch option to synchronize your wallet and
claim any pending incoming lightning payment, spark transfer, or bitcoin deposit before returning the balance.
Method Signature
Returns
The wallet’s current balance in satoshis
Map of token public keys to token balances with Bech32m token identifiers