Filtering for past events is making lots of eth_getBlockByNumber and hitting Alchemy API limits #3510
sarinniural
started this conversation in
General
Replies: 1 comment 1 reply
-
It shouldn’t call blockNumber at all for a query. Are you sure you don’t have any events being checked for? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Running this makes about 80 networks calls with provider for "eth_getBlockByNumber", when the start and end block are just for a difference for 2 days.
Is there anything I am doing wrong, or is this expected. I want to filter the events based on the calendar dates and the recipient.
Beta Was this translation helpful? Give feedback.
All reactions