@somnia-chain/markets-sdk


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

Interface: QuestionSourceInput

Defined in: packages/sdk/src/oracleHub.ts:68

One answer source (website URL / JSON URL / on-chain contract) with its encoded params.

Properties

sourceType

sourceType: number

Defined in: packages/sdk/src/oracleHub.ts:70

QUESTION_SOURCE_TYPE value (uint8 on the wire).


params

params: `0x${string}`

Defined in: packages/sdk/src/oracleHub.ts:72

Source-type-specific encoded params.