Invalid Sender in web3dart

428 Views Asked by At

I use web3dart and when I send a transaction I get such error:

error: {code: -32000, message: invalid sender}};

I changed the chainId, but it did not help, can someone come across this? despite this mistake I can get a balance.

2

There are 2 best solutions below

0
On

@Vladimir, I think in your project security settings, there configured "Required project secret for all requests"

If that is true then you need to pass your project-secret with : in your RPC request url like below

https://:[email protected]/v3/YOUR-PROJECT-ID

0
On
fetchChainIdFromNetworkId: true