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

:param account: Account id to return balance of
:type account: str

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

>>> rpc.account_balance(
...     account="xrb_3e3j5tkog48pnny9dmfzj1r16pg8t1e76dz5tmac6iq689wyjfpi00000000"
... )
{
  "balance": 10000,
  "pending": 10000
}