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

Update comment to reflect actual returned value #33

Closed
wants to merge 1 commit into from
Closed

Update comment to reflect actual returned value #33

wants to merge 1 commit into from

Conversation

c-git
Copy link

@c-git c-git commented Feb 26, 2022

For addresses that have more than 10K transactions etherscan.io actually returns the first transactions that are within the start and end blocks.

If you compare the last block returned by the two links below you'll note that they are not the same, if the last 10k transactions were returned they would be the same as the end block is the same in both requests. The last block in first request that starts from block 0 is 5007989 while the last block in the second request that starts from block 5007989 is 5008401.

https://api.etherscan.io/api?module=account&action=txlist&address=0x6ddca767d731f57d90a516dd751f2aa9282b37d2&startblock=000&endblock=99999999&page=1&offset=10000&sort=asc&apikey=YourApiKeyToken

https://api.etherscan.io/api?module=account&action=txlist&address=0x6ddca767d731f57d90a516dd751f2aa9282b37d2&startblock=5007989&endblock=99999999&page=1&offset=10000&sort=asc&apikey=YourApiKeyToken

(Wanted to check the other cases where comments said last but didn't have time to find examples to determine if they also needed to be changed)

For addresses that have more than 10K transactions etherscan.io actually returns the first transactions that are within the start and endblocks
@c-git c-git closed this by deleting the head repository Mar 23, 2023
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

Successfully merging this pull request may close these issues.

1 participant