I cannot extract the correct balance from the /address API call.
In a transaction from x -> y, where x is also the change address (actual transaction is x -> x,y) the transaction's value seems to be counted twice towards the unconfirmed balance. Perhaps it is counted once as "confirmed balance", and another time as "incoming balance", without counting it as "outgoing balance" as well.
The regular balance also doesn't make sense. It's not moved from a very old value.
I can extract the right balance by counting UTXO amounts. This feels silly.