get_gmx_arbitrum_addresses
Documentation for eth_defi.gmx.whitelist.get_gmx_arbitrum_addresses function.
- get_gmx_arbitrum_addresses()
Fetch current GMX contract addresses for Arbitrum mainnet.
Unlike
GMX_ARBITRUM_ADDRESSESwhich may become stale, this function dynamically fetches the latest addresses from the GMX contracts registry on GitHub.- Returns
Dictionary with keys
exchange_router,synthetics_router,order_vault.- Raises
ValueError – If addresses cannot be fetched from the GMX API.
- Return type