{s}omniamarkets

@somnia-chain/markets-sdk


@somnia-chain/markets-sdk / index / SpotMarket

Type Alias: SpotMarket

SpotMarket = BaseMarket & object

Defined in: query.ts:149

A spot (base/quote) order-book market.

Type Declaration

marketType

marketType: "SPOT"

baseToken

baseToken: string

quoteToken

quoteToken: string

baseSymbol

baseSymbol: string | null

quoteSymbol

quoteSymbol: string | null

baseIsNative

baseIsNative: boolean

tickSize

tickSize: string

lotSize

lotSize: string

minQuantity

minQuantity: string

markPrice

markPrice: string | null

rawMidpoint

rawMidpoint: string | null

Unsmoothed book midpoint feeding the mark-price EMA; null until first set.

markPriceUpdatedAt

markPriceUpdatedAt: string | null

Timestamp (unix seconds) the mark price last advanced; null until first set.

stopRegistry

stopRegistry: string | null

Per-pool SpotStopOrderRegistry (lowercased); null on pools without one.