Gets a chain by name or defaults to mainnet
Optional
Name of the chain (supports camelCase, lowercase, or kebab-case)
The chain configuration
If chain name is not supported
getChain('mainnet') // Ethereum mainnetgetChain('arbitrum') // Arbitrum OnegetChain('polygon-zkevm') // Polygon zkEVM Copy
getChain('mainnet') // Ethereum mainnetgetChain('arbitrum') // Arbitrum OnegetChain('polygon-zkevm') // Polygon zkEVM
Gets a chain by name or defaults to mainnet