@somnia-chain/markets-sdk / index / SpotPortfolioMarket
Type Alias: SpotPortfolioMarket
SpotPortfolioMarket =
object
Defined in: query.ts:1586
Spot market context attached to spot portfolio rows. id == poolAddress.
Properties
poolAddress
poolAddress:
string
Defined in: query.ts:1588
Pool address (lowercased; == the market id for spot).
baseSymbol
baseSymbol:
string|null
Defined in: query.ts:1590
Base token symbol; null when the token exposes none.
quoteSymbol
quoteSymbol:
string|null
Defined in: query.ts:1592
Quote token symbol; null when the token exposes none.
baseToken
baseToken:
string|null
Defined in: query.ts:1594
Base ERC-20 address (lowercased).
quoteToken
quoteToken:
string|null
Defined in: query.ts:1596
Quote ERC-20 address (lowercased).
baseDecimals
baseDecimals:
number
Defined in: query.ts:1598
Base-token decimals — format base quantities with this.
quoteDecimals
quoteDecimals:
number
Defined in: query.ts:1600
Quote-token decimals — format prices/quote amounts with this.
baseIsNative
baseIsNative:
boolean|null
Defined in: query.ts:1602
True when the base is the chain's native token.
tickSize
tickSize:
string|null
Defined in: query.ts:1604
Price increment, raw quote units per whole base (decimal string).
lotSize
lotSize:
string|null
Defined in: query.ts:1606
Quantity increment, raw base units (decimal string).
minQuantity
minQuantity:
string|null
Defined in: query.ts:1608
Minimum order quantity, raw base units (decimal string).
lastPrice
lastPrice:
string|null
Defined in: query.ts:1610
Last fill price (raw quote per whole base); null until first fill.
markPrice
markPrice:
string|null
Defined in: query.ts:1612
EMA-smoothed mark price (raw quote per whole base); null until first set.
stopRegistry
stopRegistry:
string|null
Defined in: query.ts:1614
Per-pool SpotStopOrderRegistry address (lowercased); null if the pool has none.