@somnia-chain/markets-sdk / index / PortfolioMarket
Type Alias: PortfolioMarket
PortfolioMarket =
object
Defined in: query.ts:972
A market context attached to portfolio rows (subset of BinaryMarket).
Properties
id
id:
string
Defined in: query.ts:975
The market's bytes32 marketId (== BinaryMarket.id). Key positions by this,
never by poolAddress alone (a pool is recycled across markets).
marketAddress
marketAddress:
string
Defined in: query.ts:976
poolAddress
poolAddress:
string
Defined in: query.ts:977
asset
asset:
string
Defined in: query.ts:978
question
question:
string
Defined in: query.ts:979
status
status:
BinaryMarketStatus
Defined in: query.ts:980
lastPrice
lastPrice:
string|null
Defined in: query.ts:981
strike
strike:
string
Defined in: query.ts:982
expiry
expiry:
string
Defined in: query.ts:983
winningOutcome?
optionalwinningOutcome?:number|null
Defined in: query.ts:984
voided
voided:
boolean
Defined in: query.ts:985
quoteDecimals
quoteDecimals:
number
Defined in: query.ts:989
Collateral decimals (per-market — collateral is per-venue, e.g. 6dp TestUSDC vs 18dp USDso). Format prices/balances with this, never a hard-coded 6. Outcome-token amounts mirror the same decimals.