【metamask调用合约报错】-“Nonce too high. Expected nonce to be 4but got 51“

metamsk调用nft合约mint nft时报错:

metamask报错信息

[ethjs-query] while formatting outputs from RPC["value":["code":-32603,data":
["code":-32000,message":"Nonce too high.Expectednonce to be 4 but got 51. Note that transactions can'tbe queued when automining."data":["message":"Nonce too high. Expected nonce to be 4but got 51. Note that transactions can't be queuedwhen automining.]]

可能是账号的问题,重置一下即可,解决方法如下所示:
在这里插入图片描述

在这里插入图片描述
在这里插入图片描述
然后重新连接,重新调用即可

猜你喜欢

转载自blog.csdn.net/qq_44543317/article/details/131108158