I am currently calculating the balance of addresses from "listunspent"
$unspends = $btc->listunspent(6, 9999999, array($PARAMS['address']))['amount']
But I don't think this is the correct way. Does bitcoin-cli not have a native way to get this amount?