@somnia-chain/markets-sdk / index / QUESTION_SOURCE_TYPE
Variable: QUESTION_SOURCE_TYPE
constQUESTION_SOURCE_TYPE:object
Defined in: oracleHub.ts:43
QuestionSourceType enum values (OracleTypes.sol). Only all-JSON
definitions participate in the hub's content-addressed dedup.
Type Declaration
Website
readonlyWebsite:0=0
Answer scraped from a website URL.
JSON
readonlyJSON:1=1
Answer fetched from a JSON endpoint — the only source type eligible for dedup.
Contract
readonlyContract:2=2
Answer read from an on-chain contract.