normalize_gmx_token_symbol
Documentation for eth_defi.gmx.contracts.normalize_gmx_token_symbol function.
- normalize_gmx_token_symbol(chain, token_symbol)
Normalize token symbol to the canonical form used by GMX API for a given chain.
On GMX, ETH and WETH are treated as the same token, as are AVAX and WAVAX. This function returns the canonical symbol that GMX API uses.