Error 'No chain ID defined'
需要翻译这篇文章吗?
Contribute to the Help Center
在 GitHub 上提交翻译、更正和建议,或通过我们的社区论坛联系我们。
If you are using the Ethereum Mainnet, try toggling networks: switch from Ethereum mainnet to another network, and then back again.
Please make sure you are also on the latest version of MetaMask.
If you manually added the network to MetaMask, head to Settings > Networks and make sure the chain ID associated with the network is the correct one. To find a chain ID, you could head to Chainlist, which maintains a catalogue of EVM-compatible networks and their details, or search for the relevant documentation of the network itself.