Trying to use historical/events. But selectors from_block and to_block doesnt work correct. For example:
from_block: 8255630
to_block: 8255638
im using in bsc mainnet
in output it gives me data for block “8255855”
Whats the problem?
Trying to use historical/events. But selectors from_block and to_block doesnt work correct. For example:
from_block: 8255630
to_block: 8255638
im using in bsc mainnet
in output it gives me data for block “8255855”
Whats the problem?
Can you post full code of the request and full response you are getting back?
i tried to do it in moralis website only.
curl -X 'POST' \
'https://npjfwdpvxozd.moralis.io:2053/api/historical/events?chain=bsc&chain_name=mainnet&from_block=8255580&to_block=8255590&address=0x58f876857a02d6762e0101bb5c46a8c1ed44dc16&topic=0x1c411e9a96e071241c2f21f7726b17ae89e3cab4c78be50e062b03a9fffbbad1%20' \
-H 'accept: application/json' \
-H 'Authorization: Bearer {blablabla}' \
-H 'Content-Type: application/json' \
-d '{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint112","name":"reserve0","type":"uint112"},{"indexed":false,"internalType":"uint112","name":"reserve1","type":"uint112"}],"name":"Sync","type":"event"}'
i selected from block 8255580 to 8255590. And it doesnt give me data for selected blocks.
Thanks the team will check
This is now fixed, Update the server to the latest version and try it out. Let me me know if the problem persists @Yomoo