TokenBalance

data class TokenBalance(val tokenType: String, val balance: BigInteger, val utxoCount: Int)

Represents the balance for a single token type.

Aggregated from multiple UTXOs of the same token type.

Example:

TokenBalance(
tokenType = "DUST",
balance = BigInteger("5000000"),
utxoCount = 3
)

Constructors

Link copied to clipboard
constructor(tokenType: String, balance: BigInteger, utxoCount: Int)

Properties

Link copied to clipboard

Total balance in smallest unit (sum of all AVAILABLE UTXOs).

Link copied to clipboard

Token type (e.g., "DUST", "TNIGHT").

Link copied to clipboard

Number of UTXOs contributing to this balance.