About speed when connect to Json Rpc url #3416
Unanswered
axenwhcr4097
asked this question in
Q&A
Replies: 1 comment 1 reply
-
It probably has to do with the consistency checking. If you are certain the URL won’t change networks, you should use the StaticJsonRpcProvider instead. |
Beta Was this translation helpful? Give feedback.
1 reply
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Ethers Version
5.7.1
Search Terms
No response
Describe the Problem
Why is the same json url that ethers always much slower than web3 when calling the same method. Whereas with websocket url, the speed of both is roughly the same. It was because of this that I switched from ethers to web3 in reluctance :(
Code Snippet
Contract ABI
No response
Errors
No response
Environment
No response
Environment (Other)
No response
Beta Was this translation helpful? Give feedback.
All reactions