@somnia-chain/markets-sdk / index / PortfolioPosition
Type Alias: PortfolioPosition
PortfolioPosition =
object
Defined in: packages/sdk/src/binary/portfolio.ts:117
One outcome-token position in a wallet's binary portfolio.
Properties
market
market:
PortfolioMarket
Defined in: packages/sdk/src/binary/portfolio.ts:119
The market the position is in.
outcomeIndex
outcomeIndex:
number
Defined in: packages/sdk/src/binary/portfolio.ts:121
0 = YES, 1 = NO.
tokenId
tokenId:
string
Defined in: packages/sdk/src/binary/portfolio.ts:123
ERC-6909 position id on the outcome-token singleton (decimal string).
balance
balance:
string
Defined in: packages/sdk/src/binary/portfolio.ts:125
Raw outcome-token balance.