writeContractAsync function getting failed - using the useWriteContract #4130
Unanswered
subhradwip01
asked this question in
Q&A
Replies: 2 comments
-
I need wagmi version. V1 or V2? |
Beta Was this translation helpful? Give feedback.
0 replies
-
did you fix it? im getting the same error |
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
-
I was trying to send non-native tokens on different chains.. For now, I was testing sepolia test net USDT.. but the writeContractAsync function not working it keeps this error... But even if I add the main net USDT address same issue occurs..
Attaching the codes and issue: (Can not share full code to maintain the confidentiality)
ERROR:
Please give me the solution.
I know there is function called sendTransaction but it is only for native coins I guess.. we need to do for all coins and token.. What could be the solution for that
Beta Was this translation helpful? Give feedback.
All reactions