@doc_metadata(categories=['<STR_LIT>'])<EOL><INDENT>def wallet_balances(self, wallet):<DEDENT>
wallet = self._process_value(wallet, '<STR_LIT>')<EOL>payload = {"<STR_LIT>": wallet}<EOL>resp = self.call('<STR_LIT>', payload)<EOL>balances = resp.get('<STR_LIT>') or {}<EOL>for account, balance in balances.items():<EOL><INDENT>for k, v in balances[account].items():<EOL><INDENT>balances[account][k] = int(v)<EOL><DEDENT><DEDENT>return balances<EOL>
Returns how many rai is owned and how many have not yet been received
by all accounts in **wallet**

:param wallet: Wallet to return balances for
:type wallet: str

:raises: :py:exc:`nano.rpc.RPCException`

>>> rpc.wallet_balances(
...     wallet="000D1BAEC8EC208142C99059B393051BAC8380F9B5A2E6B2489A277D81789F3F"
... )
{
    "xrb_3e3j5tkog48pnny9dmfzj1r16pg8t1e76dz5tmac6iq689wyjfpi00000000": {
        "balance": 10000,
        "pending": 10000
    }
}