parseChain(chain: string | number): string
This will resolve the chainId number to the corresponding chain name.
Parameters
| Parameter | Type | Description |
|---|
chain | string | number | The chainId of the network |
Returns
string
chain name, 'ethereum', 'polygon', 'gnosis', etc.