Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

blocks = api.get_all_blocks_mined(offset=10000, blocktype='uncles') tried this #89

Open
kalkite opened this issue Dec 10, 2020 · 1 comment

Comments

@kalkite
Copy link

kalkite commented Dec 10, 2020

OK
page 1 added
OK
page 2 added
OK
page 3 added
OK
page 4 added
OK
page 5 added
OK
page 6 added
OK
page 7 added
OK
page 8 added


EmptyResponse Traceback (most recent call last)
in ()
----> 1 blocks = api.get_all_blocks_mined(offset=10000, blocktype='uncles')

/export/home/rkalak/.local/lib/python3.6/site-packages/etherscan/accounts.py in get_all_blocks_mined(self, blocktype, offset)
133 while True:
134 self.build_url()
--> 135 req = self.connect()
136 print(req['message'])
137 if "No transactions found" in req['message']:

/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: No transactions found>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@kalkite and others