Using Web3js BatchRequests to reduce Rate usage?

Hi!
https://web3js.readthedocs.io/en/v1.8.2/include_package-core.html?highlight=batch#batchrequest
Is it possible to use batch requests from the Web3js to save rate limits usage from your API key?

2 Likes

Hi @ovimy,

Sure, you can use batch requests with Infura using web3js, but each request in the batch is counted as an individual request so this won’t reduce your rate usage.

Best regards,
Radu | Infura Support

3 Likes

This topic was automatically closed after 30 days. New replies are no longer allowed.