web3dart icon indicating copy to clipboard operation
web3dart copied to clipboard

RPCError (RPCError: got code -32000 with msg "invalid sender".)

Open povpros opened this issue 3 years ago • 4 comments

povpros avatar Aug 19 '22 03:08 povpros

if you are trying to get do a Transaction.callContract(), consider providing the chainId parameter with the appropriate ID of your network. you can check your ID here https://chainlist.org/

viktorvoltz avatar Sep 10 '22 11:09 viktorvoltz

@viktorvoltz it does not work even that way however changing infura or whatever private key with metamask private key worked

AzharRaeisi avatar Sep 26 '22 05:09 AzharRaeisi

i still have this error too

mmMrz avatar Dec 03 '22 03:12 mmMrz

I am also getting same error on doing any sendTrasaction

junedr375 avatar Dec 07 '22 08:12 junedr375