Skip to main content
Version: testnet (v0.73)


An data source specification describes the data source data that a product (or a risk model) wants to get from the oracle engine.

type DataSourceSpec {
id: ID!
createdAt: Timestamp!
updatedAt: Timestamp
data: DataSourceDefinition!
status: DataSourceSpecStatus!

Fields ● ID! non-null scalar

ID is a hash generated from the DataSourceSpec data.

DataSourceSpec.createdAt ● Timestamp! non-null scalar

RFC3339Nano creation date time

DataSourceSpec.updatedAt ● Timestamp scalar

RFC3339Nano last updated timestamp ● DataSourceDefinition! non-null object

DataSourceSpec.status ● DataSourceSpecStatus! non-null enum

Status describes the status of the data source spec

Member of

ExternalDataSourceSpec object ● Future object ● Perpetual object