observeBalance

fun observeBalance(address: String): Flow<Map<String, BigInteger>>

Observe balance changes for an address (available UTXOs only).

Returns Flow that emits new balance map whenever AVAILABLE UTXOs change. Only includes AVAILABLE UTXOs, excludes PENDING and SPENT.

Matches Midnight SDK: getAvailableBalances()

Return

Flow of balance maps (tokenType → balance)

Parameters

address

Unshielded address