Whitelist subgraph
The whitelist stores trusted data providers, their individual data feeds and the collateral tokens that have to be used in order to be eligible for the oracle services:
The whitelist subgraph can be accessed here:
Ropsten (deprecated): https://thegraph.com/hosted-service/subgraph/divaprotocol/diva-whitelist-ropsten
Data providers
Data providers can be and their offered data feeds can be queried as follows (here querying the first two data providers in the whitelist):
{
dataProviders(first: 2) {
id
name
publicTrigger
dataFeeds {
id
referenceAsset
referenceAssetUnified
active
}
}
}Sample output of above query:
Data feeds
The following query shows all data providers that can provide a given data feed (here ETH/USD):
Sample output of above query:
Collateral tokens
The following query returns all collateral tokens that are supported by whitelisted data providers:
Sample output of above query:
Last updated