@doc_metadata(categories=['<STR_LIT>'])<EOL><INDENT>def account_weight(self, account):<DEDENT>
account = self._process_value(account, '<STR_LIT>')<EOL>payload = {"<STR_LIT>": account}<EOL>resp = self.call('<STR_LIT>', payload)<EOL>return int(resp['<STR_LIT>'])<EOL>
Returns the voting weight for **account**

:param account: Account to get voting weight for
:type account: str

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

>>> rpc.account_weight(
...     account="xrb_3e3j5tkog48pnny9dmfzj1r16pg8t1e76dz5tmac6iq689wyjfpi00000000"
... )
10000