Skip to main content

tradeHistory types

This type-only entrypoint exports the SDK's normalized trade-history action types.

Exports

  • TradeActionType
  • PositionTradeAction
  • SwapTradeAction
  • TradeAction
import type { TradeAction, TradeActionType } from "@gmx-io/sdk/types/tradeHistory";

SwapTradeAction includes optional swapFeeUsd?: bigint and swapImpactUsd?: bigint fields for executed swap settlement details.