@zetachain/toolkit / getChainId
Function: getChainId()
getChainId(
this,chainNameOrAlias):null|number
Get chain ID from a chain label.
Parameters
• this: ZetaChainClient
ZetaChainClient instance.
• chainNameOrAlias: string
Chain label like goerli_testnet
Returns
null | number