@somnia-chain/markets-sdk / index / OracleQuestionRecord
Type Alias: OracleQuestionRecord
OracleQuestionRecord =
object
Defined in: query.ts:2778
A hub-scheduled oracle question (mirror of the indexer OracleQuestion
entity; id = oracleQuestionId as a decimal string). Tracks the
content-addressed dedup state: the canonical key, who paid the oracle
submission, and how many markets bound to it.
Properties
id
id:
string
Defined in: query.ts:2780
oracleQuestionId (decimal string == entity id).
questionKey
questionKey:
string|null
Defined in: query.ts:2785
Canonical dedup key (bytes32 hex); zero/null for non-template definitions that bypassed dedup.
scheduler
scheduler:
string
Defined in: query.ts:2787
Caller that paid the oracle submission cost (lowercased).
oracleCost
oracleCost:
string
Defined in: query.ts:2789
Native wei forwarded to the oracle for this submission.
bindCount
bindCount:
number
Defined in: query.ts:2791
Lifetime bind count (from MarketBound.bindCount, monotonic).
reuseCount
reuseCount:
number
Defined in: query.ts:2796
Times an identical definition deduplicated onto this question
(QuestionReused count).
createdAtBlock
createdAtBlock:
string
Defined in: query.ts:2798
Block the question was scheduled in (decimal string).
createdAtTimestamp
createdAtTimestamp:
string
Defined in: query.ts:2800
Timestamp (unix seconds) the question was scheduled.