@somnia-chain/markets-sdk / index / QuestionDefinitionInput
Interface: QuestionDefinitionInput
Defined in: oracleHub.ts:73
Full question definition — the input to scheduleQuestion /
getSchedulingCost / questionKeyOf. Mirrors the on-chain
QuestionDefinition struct field-for-field.
Properties
questionText
questionText:
string
Defined in: oracleHub.ts:76
Free-form question text. EXCLUDED from the dedup key for template (all-JSON-source) definitions — the sources determine the answer.
sources
sources:
QuestionSourceInput[]
Defined in: oracleHub.ts:77
validAnswers
validAnswers:
ValidAnswersInput
Defined in: oracleHub.ts:78
resolutionTime
resolutionTime:
bigint
Defined in: oracleHub.ts:80
Unix-seconds the oracle answers at.
minAgreement
minAgreement:
bigint
Defined in: oracleHub.ts:81
subcommitteeSize
subcommitteeSize:
bigint
Defined in: oracleHub.ts:82
subcommitteeThreshold
subcommitteeThreshold:
bigint
Defined in: oracleHub.ts:83