Get Network Name With Chain ID

Gets the name of a Core Blockchain based on its chain ID.
  • chainId (string) The chain ID of the network.
  • RETURN (string) Returns the name of the Core Blockchain.
console.log('Testnet : ', Aquarius.util.getNetNameWithChainId(3));
Last modified 6mo ago