getBalanceIn

abstract fun getBalanceIn(dest: PayAddress, unspent: Boolean = true): Long

Return

the current balance in the supplied address


abstract fun getBalanceIn(groupId: GroupId, dest: PayAddress? = null, minConfirms: Int = 0, unspent: Boolean = true): Long

Return

the current token balance

Parameters

groupId

The group identifier for this token

dest

If non-null, only return balances in this address

minConfirms

If nonzero, the funding transaction must be at least this deep.

unspent

If unspent is true, the current balance is provided. Otherwise the total ever received is provided.