@somnia-chain/markets-sdk


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

Interface: DecodedOutcomeId

Defined in: packages/sdk/src/ids.ts:46

The decoded components of an outcome id.

Properties

pool

pool: `0x${string}`

Defined in: packages/sdk/src/ids.ts:48

The pool address (the encoded high 160 bits), lowercased 0x-hex.


nonce

nonce: bigint

Defined in: packages/sdk/src/ids.ts:50

The pool's market nonce this id belongs to.


idx

idx: number

Defined in: packages/sdk/src/ids.ts:52

The outcome index (0 = YES, 1 = NO).