Error: Returned error: insufficient funds for gas * price + value at Object.ErrorResponse

Error: Returned error: insufficient funds for gas * price + value at Object.ErrorResponse

我正在使用 web3 版本 1.3.3 并尝试使用 send() 调用合约方法但它显示上面的错误(错误:返回错误:gas 资金不足 * 价格 + Object.ErrorResponse 的价值)

const ERC20ListInst = await this.contract;
const res = await ERC20ListInst.methods.tokenToWei(addr, this.web3.utils.toHex(amount)).send({
   from: this.web3.eth.defaultAccount,
   gas: 100000
});

我的帐户上有足够的 ETH,但不确定为什么会这样。 有没有人以前遇到过这个问题?

truffle 钱包提供商出现问题 url。本来打算用歌尔力的,资金够用,结果用主网写了url。所以它正在检查主网帐户并显示余额不足。在我向 goerli 指示钱包提供商后,它就起作用了。谢谢。