Not getting correct error message while hitting contract method #5253
Unanswered
harshitaRajput18
asked this question in
Developer Support
Replies: 1 comment
-
I need to review the code. Could invite me to the repository |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When I use const { connector } = useAccount(); let provider = await connector?.getProvider(); this method to get provider and use this provider to hit the contract method then I'm not getting exact error. It always says Internal Json Rpc error. but when I hard code the RPC then it works fine. Please suggest me the solution.
Beta Was this translation helpful? Give feedback.
All reactions