Getting rid of excessive eth_chainId
calls from JsonRpcBatchProvider
using StaticJsonRpcProvider
#3462
Unanswered
sivaram-undefy
asked this question in
Q&A
Replies: 0 comments
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.
-
In my current use case, there is a guarantee that the network will not change, hence I am using the
StaticJsonRpcProvider
instead of the standardJsonRpcProvider
with Alchemy RPC APIs endpoint.But my use case is such that I have to perform many batch operations for which
JsonRpcBatchProvider
is awesome except for the cases where it triggers a singular batch request foreth_chainId
which seems wasteful of my Alchemy credits for each batch call.Is there a way to sort this out ?
Beta Was this translation helpful? Give feedback.
All reactions