@somnia-chain/markets-sdk


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

Type Alias: MarketReferenceLink

MarketReferenceLink = object

Defined in: packages/sdk/src/binary/settlement.ts:370

The oracle reference a market binds to (mirror of the indexer MarketReferenceLink entity).

Properties

id

id: string

Defined in: packages/sdk/src/binary/settlement.ts:372

Entity id (== the lowercased marketId).


market

market: string

Defined in: packages/sdk/src/binary/settlement.ts:374

Market id (lowercased bytes32).


oracleQuestionId

oracleQuestionId: string

Defined in: packages/sdk/src/binary/settlement.ts:376

Reference question id the market resolves against (decimal string).


pending

pending: boolean

Defined in: packages/sdk/src/binary/settlement.ts:381

True once the market has its own answer but the reference question is not yet final (resolution still pending on the reference).