Retrieves a contract address for a specific chain ID and contract name.
The numeric identifier of the blockchain network
The name of the contract to look up
The contract address if found, undefined otherwise
const address = getContractAddressByChainIdAndContractName(1, 'KeeperRegistry'); Copy
const address = getContractAddressByChainIdAndContractName(1, 'KeeperRegistry');
Retrieves a contract address for a specific chain ID and contract name.