get_gmx_synthetic_token_by_address
Documentation for eth_defi.gmx.synthetic_tokens.get_gmx_synthetic_token_by_address function.
- get_gmx_synthetic_token_by_address(chain_id, address, cache=LRUCache({}, maxsize=512, currsize=0))
Get a specific GMX token by address on a given chain.
- Parameters
chain_id (int) – Blockchain chain ID
address (eth_typing.evm.HexAddress) – Token contract address
cache (Optional[cachetools.Cache]) – Cache instance to use
- Returns
GMXSyntheticTokenDetails if found, None otherwise
- Return type
Optional[eth_defi.gmx.synthetic_tokens.GMXSyntheticTokenDetails]