-
I am getting an error that signTransaction is not a function, my code is exactly similar to Code:
And I am getting this error:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
https://docs.ethers.io/v5/api/signer/#Signer--signing-methods try this |
Beta Was this translation helpful? Give feedback.
-
Updated my ethers again by doing |
Beta Was this translation helpful? Give feedback.
Updated my ethers again by doing
yarn add ethers
and the error got solved. There was a problem in my 'wallets.d.ts' file.