Dear colleagues!
We are on Pro Plan $49 per month and using Moralis NodeJS SDK v2.0.3 to interact with Binance Smart Chain through Moralis API.
Our goal is to know when new block is released as fast as possible.
We invoke in loop the “Moralis.EvmApi.native.getDateToBlock()” method and provide as parameter a date which one day later than now.
This request takes 300 milliseconds and 100 milliseconds of pause so it takes approx 400 milliseconds between cycles. BSC releases blocks every 3000 milliseconds.
It works but very often we face with issue when we are waiting for block N+1 for a long time then we got response that the latest block is N+2 or even N+3.
So the issue is the blocks are skiped by Moralis API and we can not to trigger our logic which must work with blockchain state on the N+1 block.
Could you please help us to resolve the issue?