Skip to content

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

Open
@rajeshkalakoti

Description

@rajeshkalakoti

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>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions