SendTransaction not working #461
KetulCodiste
announced in
Help
Replies: 1 comment 3 replies
-
can you paste the code of your send function here, also plz check if rpc network call is failing then plz check the response of failed network call. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have implemented the React + web3Auth demo from the web3Auth documentation. All the functions are working fine except the sendTransaction function. It gives me the following error:
Error: Internal JSON-RPC error.
at getEthJsonRpcError (errors.ts:188:1)
at Object.internal (errors.ts:52:1)
at provider.sendAsync (INetworkController.ts:125:1)
at async provider.request (INetworkController.ts:149:1)
I also tried to implement one more function which uses .send() method. So, .call() method is working correctly but .send() method is giving this error.
I have not made any changes in the demo, just copy/pasted the code in my local machine.
Beta Was this translation helpful? Give feedback.
All reactions