πGet the chain information for a Signer
Learn how to use ethers to query some basic EVM-network information
Check the network information using ethers.js
In this example, we use a Moonbeam provider
. If you use a browser-injected provider, you'll receive the information about the current connected network.
Last updated