Skip to main content

dataStore

This module is the SDK's public registry of GMX DataStore key constants and key-builder helpers.

What it exports

  • Static hashed keys such as MIN_COLLATERAL_USD_KEY, MAX_AUTO_CANCEL_ORDERS_KEY, USE_OPEN_INTEREST_IN_TOKENS_FOR_BALANCE, and REQUEST_EXPIRATION_TIME_KEY
  • Dynamic key builders such as positionImpactFactorKey, swapFeeFactorKey, poolAmountKey, accountOrderListKey, uiFeeFactorKey, hashedPositionKey, and claimTermsKey
import {
MAX_AUTO_CANCEL_ORDERS_KEY,
positionImpactFactorKey,
poolAmountKey,
uiFeeFactorKey,
} from "@gmx-io/sdk/configs/dataStore";

Use this module when you need to read or derive raw DataStore keys for multicalls or contract debugging. The entrypoint is large by design because it mirrors the on-chain key layout.