cache ballances for get_wallet_balance