Balance
data class Balance(val shielded: BigInteger = BigInteger.ZERO, val unshielded: BigInteger = BigInteger.ZERO, val dust: BigInteger = BigInteger.ZERO, val tokenType: String = "MIDNIGHT")
Wallet balance across all address types.
Midnight wallet has 3 address types:
Shielded - Private ZK balance (mn_shield_addr_...)
Unshielded - Transparent balance (mn_addr_...)
Dust - Small amounts for fees (mn_dust_...)
Constructors
Link copied to clipboard
constructor(shielded: BigInteger = BigInteger.ZERO, unshielded: BigInteger = BigInteger.ZERO, dust: BigInteger = BigInteger.ZERO, tokenType: String = "MIDNIGHT")