The network name (string) to be converted
A number
representing the EIP chain id for the provided network name
const mainnetChainId = networkNameToEIPChainId('mainnet')
console.log(mainnetChainId) // 295
const testnetChainId = networkNameToEIPChainId('testnet')
console.log(mainnetChainId) // 296
Generated using TypeDoc
Converts a network name to an EIP chain id. If no mapping is found, returns the EIP chain id for
LedgerId.LOCAL_NODE
.