getNetworkFromChainId
function getNetworkFromChainId(chainId: string | number): "mainnet" | "testnet";
Defined in: packages/iso-filecoin/src/utils.js:85
Get network from any chain designation
Parameters
Parameter | Type |
---|---|
chainId | string | number |
Returns
"mainnet"
| "testnet"