getBalance

fun getBalance(): ULong

Return the balance, meaning the sum of this wallet’s unspent outputs’ values. Note that this method only operates on the internal database, which first needs to be Wallet.sync manually.