{s}omniamarkets

@somnia-chain/markets-sdk


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

Type Alias: OracleAnswer

OracleAnswer = object

Defined in: query.ts:2564

The numeric answer the oracle posted for a question (mirror of the indexer OracleAnswer entity).

Properties

oracleQuestionId

oracleQuestionId: string

Defined in: query.ts:2566

oracleQuestionId (decimal string == entity id).


numericValue

numericValue: string | null

Defined in: query.ts:2568

Numeric answer the oracle posted (raw; interpretation is question-specific).


outcomeLabel

outcomeLabel: string | null

Defined in: query.ts:2570

Human outcome label the oracle posted, if any.


voidReason

voidReason: number | null

Defined in: query.ts:2572

Void reason code (non-null only on a voided answer).


resolvedAt

resolvedAt: string | null

Defined in: query.ts:2574

Timestamp (unix seconds) the answer was posted; null until posted.


txHash

txHash: string | null

Defined in: query.ts:2576

Tx hash the answer was posted in; null until posted.