gmx.types
Documentation for eth_defi.gmx.types Python module.
GMX protocol type definitions.
Common type aliases used throughout the GMX module for better type safety and documentation.
- TokenSymbol
Token symbol (e.g., “BTC”, “ETH”, “USDC”)
- MarketSymbol
Market symbol (e.g., “BTC”, “ETH/USD”, “DOGE”)
- MarketAddress
Market address as hexadecimal string
- USDAmount
USD-denominated price or value
- APRDecimal
Annual Percentage Rate as decimal (e.g., 0.05 for 5%)
- PositionSideData
Position side data mapping