Get the history of an account, pagenated over a block range.
        Returns the sequence of history states on success (can be empty)

def rpc_get_account_history(self, address, page, **con_info):
        """
        Get the history of an account, pagenated over a block range.
        Returns the sequence of history states on success (can be empty)
        """
        if not check_account_address(address):
            return {'error': 'Invalid address', 'http_status': 400}

        if not check_count(page):
            return {'error': 'Invalid page', 'http_status': 400}

        # must be b58
        if is_c32_address(address):
            address = c32ToB58(address)

        db = get_db_state(self.working_dir)
        page_size = 20
        account_history = db.get_account_history(address, offset=(page * page_size), count=page_size)
        db.close()

        # return credit_value and debit_value as strings, so the unwitting JS developer doesn't get confused
        # as to why large balances get mysteriously converted to doubles.
        ret = [self.export_account_state(hist) for hist in account_history]
        return self.success_response({'history': ret})