zcash-android-wallet-sdk / cash.z.wallet.sdk.block / CompactBlockProcessor / getBalanceInfo

getBalanceInfo

suspend fun getBalanceInfo(accountIndex: Int = 0): WalletBalance

Calculates the latest balance info. Defaults to the first account.

Parameters

accountIndex - the account to check for balance info.

Return
an instance of WalletBalance containing information about available and total funds.