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

:param accounts: list of accounts to return balances for
:type accounts: list of str

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

>>> rpc.accounts_balances(
...     accounts=[
...         "xrb_3e3j5tkog48pnny9dmfzj1r16pg8t1e76dz5tmac6iq689wyjfpi00000000",
...         "xrb_3i1aq1cchnmbn9x5rsbap8b15akfh7wj7pwskuzi7ahz8oq6cobd99d4r3b7"
...      ]
... )
{
    "xrb_3e3j5tkog48pnny9dmfzj1r16pg8t1e76dz5tmac6iq689wyjfpi00000000": {
        "balance": 10000,
        "pending": 10000
    },
    "xrb_3i1aq1cchnmbn9x5rsbap8b15akfh7wj7pwskuzi7ahz8oq6cobd99d4r3b7": {
        "balance": 10000000,
        "pending": 0
    }
}