code: def GET_account_history(self, path_info, account_addr):
          
          if not check_account_address(account_addr):
              return self._reply_json({'error': 'Invalid address'}, status_code=400)
  
          qs_values = path_info['qs_values']
          page = qs_values.get('page', None)
  
          if page is None:
              page = "0" # compatibility
  
          try:
              assert len(page) < 10
              page = int(page)
  
              assert page >= 0
          except:
              return self._reply_json({'error': 'Invalid start block or end block or invalid page'}, status_code=400)
  
          blockstackd_url = get_blockstackd_url()
          res = blockstackd_client.get_account_history_page(account_addr, page, hostport=blockstackd_url)
          if json_is_error(res):
              log.error("Failed to list account history for {} at page {}: {}".format(account_addr, page, res['error']))
              return self._reply_json({'error': 'Failed to list account history for {} at page {}'.format(account_addr, page)}, status_code=res.get('http_status', 500))
  
          self._reply_json(res)
          return
docs: Get the history of an account at a given page.
          Returns [{...}]