For the complete documentation index, see llms.txt. This page is also available as Markdown.

Get Network Name With Chain ID

Gets the name of an BSC network based on its chain ID.

  • chainId (string) The chain ID of the network.

  • RETURN (string) Returns the name of the Ethereum network.

console.log('Testnet : ', Agile.util.getNetNameWithChainId(3));

Last updated