Gets the name of an Ethereum network based on its chain ID.
chainId (string) The chain ID of the network.
chainId
RETURN (string) Returns the name of the Ethereum network.
RETURN
console.log('Ropsten : ', Strike.util.getNetNameWithChainId(3));
Last updated 5 years ago
Was this helpful?