py-etherscan-api icon indicating copy to clipboard operation
py-etherscan-api copied to clipboard

i tried to get the all the transactions api.get_all_transactions() by using this. it gives error like this.

Open rajeshkalakoti opened this issue 5 years ago • 0 comments

EmptyResponse Traceback (most recent call last) in () ----> 1 trans = api.get_all_transactions()

/export/home/rkalak/.local/lib/python3.6/site-packages/etherscan/accounts.py in get_all_transactions(self, offset, sort, internal) 90 while True: 91 self.build_url() ---> 92 req = self.connect() 93 if "No transactions found" in req['message']: 94 print(

/export/home/rkalak/.local/lib/python3.6/site-packages/etherscan/client.py in connect(self) 121 return data 122 else: --> 123 raise EmptyResponse(data.get('message', 'no message')) 124 raise BadRequest( 125 "Problem with connection, status code: %s" % req.status_code)

EmptyResponse: <Err: Result window is too large, PageNo x Offset size must be less than or equal to 10000>

rajeshkalakoti avatar Dec 10 '20 19:12 rajeshkalakoti