getBalance() for server