observeUtxoCounts

fun observeUtxoCounts(address: String): Flow<Map<String, Int>>

Observe UTXO counts per token type (available UTXOs only).

Returns Flow that emits UTXO counts grouped by token type. Used for displaying "X UTXOs" in balance UI.

Matches Midnight SDK: .length on getAvailableCoins() result

Return

Flow of UTXO count maps (tokenType → count)

Parameters

address

Unshielded address