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

AssertionError: [] -- No transactions found #11

Closed
mapapuche opened this issue Feb 2, 2021 · 2 comments
Closed

AssertionError: [] -- No transactions found #11

mapapuche opened this issue Feb 2, 2021 · 2 comments

Comments

@mapapuche
Copy link

mapapuche commented Feb 2, 2021

Hello,

When i try to get last transfer events of my account like that :

eth_erc20_events = eth.get_erc20_token_transfer_events_by_address(address='0xa71ac2c62A1b477186f5CbF45d94fFcd5D7e5711', startblock=0, endblock=1000000, sort='des')

I got AssertionError: [] -- No transactions found

I'm not sure of what i should set on startblock & endblock, can you help please :) ?

My main goal is to find my pending and successfull transaction of last month.

@github-actions
Copy link

github-actions bot commented Feb 2, 2021

Thanks for reporting this issue, we are on it :)

@pcko1
Copy link
Owner

pcko1 commented Feb 2, 2021

Hi, as you can see on Etherscan the latest transactions happened inside block 11775464 which is outside of the endblock limit you have set by an order of magnitude and this means you should extend your query limits. To find the latest block number, use eth.get_block_number_by_timestamp.

@pcko1 pcko1 closed this as completed Feb 2, 2021
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