web3dart中的无效发件人

to94eoyn  于 2023-01-28  发布在  其他
关注(0)|答案(2)|浏览(88)

我使用web 3dart,当我发送交易时,我收到这样的错误:
错误:{代码:-32000,留言:无效的发件人}};
我更改了chainId,但没有任何帮助,有人会遇到这个问题吗?尽管有这个错误,但我可以获得平衡。

inn6fuwd

inn6fuwd1#

@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://:YOUR-PROJECT-SECRET@.infura.io/v3/YOUR-PROJECT-ID

eeq64g8w

eeq64g8w2#

fetchChainIdFromNetworkId: true

相关问题