{s}omniamarkets

@somnia-chain/markets-sdk


@somnia-chain/markets-sdk / index / QUESTION_SOURCE_TYPE

Variable: QUESTION_SOURCE_TYPE

const QUESTION_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

readonly Website: 0 = 0

Answer scraped from a website URL.

JSON

readonly JSON: 1 = 1

Answer fetched from a JSON endpoint — the only source type eligible for dedup.

Contract

readonly Contract: 2 = 2

Answer read from an on-chain contract.