@doc_metadata(categories=['<STR_LIT>'])<EOL><INDENT>def chain(self, block, count):<DEDENT>
block = self._process_value(block, '<STR_LIT>')<EOL>count = self._process_value(count, '<STR_LIT:int>')<EOL>payload = {"<STR_LIT>": block, "<STR_LIT:count>": count}<EOL>resp = self.call('<STR_LIT>', payload)<EOL>return resp.get('<STR_LIT>') or []<EOL>
Returns a list of block hashes in the account chain starting at
**block** up to **count**

:param block: Block hash to start at
:type block: str

:param count: Number of blocks to return up to
:type count: int

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

>>> rpc.chain(
...     block="000D1BAEC8EC208142C99059B393051BAC8380F9B5A2E6B2489A277D81789F3F",
...     count=1
... )
[
    "000D1BAEC8EC208142C99059B393051BAC8380F9B5A2E6B2489A277D81789F3F"
]