@somnia-chain/markets-sdk


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

Type Alias: MarketReferenceLink

MarketReferenceLink = object

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

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:462

Entity id (== the lowercased marketId).


market

market: string

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

Market id (lowercased bytes32).


oracleQuestionId

oracleQuestionId: string

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

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


pending

pending: boolean

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

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


blockNumber

blockNumber: string

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

Block of the most recent write to this link (decimal string).


timestamp

timestamp: string

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

Timestamp (unix seconds) of the most recent write to this link. While pending is true this is when the market went pending, so it is the age of the stall rather than the age of the link.