@somnia-chain/markets-sdk


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

Interface: DecodedOutcomeId

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

The decoded components of an outcome id.

Properties

pool

pool: `0x${string}`

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

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


nonce

nonce: bigint

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

The pool's market nonce this id belongs to.


idx

idx: number

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

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