@somnia-chain/markets-sdk / index / ScheduleQuestionResult
Interface: ScheduleQuestionResult
Defined in: packages/sdk/src/oracleHub.ts:379
Result of OracleHubAdmin.scheduleQuestion.
Details
Scheduling is idempotent by question DEFINITION: an identical definition deduplicates onto the existing question instead of creating a second one.
Gotchas
Because of that deduplication, check reused before assuming this call is
what created the id.
Extends
Properties
oracleQuestionId
oracleQuestionId:
bigint
Defined in: packages/sdk/src/oracleHub.ts:381
Oracle-assigned (or deduplicated) question id.
reused
reused:
boolean
Defined in: packages/sdk/src/oracleHub.ts:386
True when the definition deduplicated onto an EXISTING question
(QuestionReused — the caller was charged nothing).
hash
hash:
`0x${string}`
Defined in: packages/sdk/src/trade.ts:76
The transaction hash.
Inherited from
receipt
receipt:
TransactionReceipt
Defined in: packages/sdk/src/trade.ts:78
The mined receipt (status, gas used, logs).