Avalanche C-ChainAvalanche API Endpointseth_chainIdCopy pagePOSThttps://avax-mainnet.g.alchemy.com/v2/:apiKeyReturns the chain ID of the current network as a hexadecimal string.Path ParametersapiKeystringRequiredDefaults to docs-demoResponseThe chain ID of the current network in hexadecimal format.