I was playing around with the SDK and realized I wanted to minimize the amount of requests I was making through the getBlockByNumber method. I found there is a method to request a range of blocks in one call, but it is not available through the js SDK.
I recently made a PR which adds in the missing functionality.
I was playing around with the SDK and realized I wanted to minimize the amount of requests I was making through the getBlockByNumber method. I found there is a method to request a range of blocks in one call, but it is not available through the js SDK.
I recently made a PR which adds in the missing functionality.