@somnia-chain/markets-sdk / index / OracleQuestionRecord
Type Alias: OracleQuestionRecord
OracleQuestionRecord =
object
Defined in: query.ts:2219
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:2221
oracleQuestionId (decimal string == entity id).
questionKey
questionKey:
string|null
Defined in: query.ts:2224
Canonical dedup key (bytes32 hex); zero/null for non-template definitions that bypassed dedup.
scheduler
scheduler:
string
Defined in: query.ts:2226
Caller that paid the oracle submission cost (lowercased).
oracleCost
oracleCost:
string
Defined in: query.ts:2228
Native wei forwarded to the oracle for this submission.
bindCount
bindCount:
number
Defined in: query.ts:2230
Lifetime bind count (from MarketBound.bindCount, monotonic).
reuseCount
reuseCount:
number
Defined in: query.ts:2233
Times an identical definition deduplicated onto this question
(QuestionReused count).
createdAtBlock
createdAtBlock:
string
Defined in: query.ts:2234
createdAtTimestamp
createdAtTimestamp:
string
Defined in: query.ts:2235