Utility method for converting a chainId to a Chain object
a Chain object for the given chainId
if the chainId is not found
Utility method for converting a chainId to a Chain object