get_token_address

Documentation for eth_defi.gmx.contracts.get_token_address function.

get_token_address(chain, symbol, web3=None)

Get address for a specific token on a network.

Parameters
  • chain (str) – Network name

  • symbol (str) – Token symbol

  • web3 (Optional[web3.main.Web3]) – Web3 connection instance (optional, not required for API calls)

Returns

Token address or None if not found

Return type

Optional[str]