GMX_API_V2_URLS
Documentation for eth_defi.gmx.constants.GMX_API_V2_URLS data.
- GMX_API_V2_URLS: dict[str, str] = {'arbitrum': 'https://gmx-api-arbitrum-2nlbk.ondigitalocean.app/api/v1', 'avalanche': 'https://gmx-api-avalanche-vxjas.ondigitalocean.app/api/v1'}
REST API v2 endpoint URLs for GMX protocol services by blockchain network.
These endpoints provide access to newer GMX REST API v2 services hosted on DigitalOcean, including positions, orders, funding/borrowing rates, OHLCV candles with flexible
sinceparameter, token info, and trading pairs.The v2 base URL path includes
/api/v1as part of the base — endpoint paths are appended directly (e.g./positions,/orders).Note
v1 endpoints (
GMX_API_URLS) remain the primary source for tickers, signed prices, markets, and APY data. v2 endpoints expose additional surfaces not available in v1.