Retrieves the chain configuration for a given chain ID.
The numeric chain ID to look up
The chain configuration if found, undefined otherwise
const config = getChainConfig(1480);if (config) { console.log('Chain name:', config.name);} Copy
const config = getChainConfig(1480);if (config) { console.log('Chain name:', config.name);}
Retrieves the chain configuration for a given chain ID.