corpetty / py-etherscan-api

Python bindings to the Etherscan.io API
MIT License
511 stars 247 forks source link

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

Open kalkite opened 3 years ago

kalkite commented 3 years ago

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: