Deprecated MakerDAO Metrics
Note: MakerDAO metrics have been migrated to a new framework. Although older data remains accessible through the API, we do not recommend its use. The old metrics will stop being computed and will be removed.
Description
Metrics related to MakerDAO protocols.
Single-Collateral DAI:
scd_locked_token- The volume of WETH locked in Single-Collateral DAI contract.scd_collat_ratio- Single-Collateral DAI Collateralization Ratio
Multi-Collateral DAI:
mcd_locked_token- The volume of collateral locked in Multi-Collateral DAI contracts, measured by token[1]mcd_liquidation- Amount of liquidated tokens[2]mcd_erc20_supply- DAI ERC20 token total supplymcd_supply- The total amount of Multi-Collateral DAI tokens: DAI ERC20 Supply plus DAI in DSRmcd_collat_ratio_weth- Shows the collateralization ratio of MCD collateral tokens.
[1]: Please switch to the new metric
makerdao_total_supplied_usd, [2]: Please switch to the new metricmakerdao_action_liquidations_usd
Access
Measuring Unit
The following metrics’ unit is the amount of coins:
mcd_locked_tokenscd_locked_tokenmcd_erc20_supplymcd_supply
The rest:
- MakerDAO contract parameter values
Data Type
Frequency
The following metrics have Five-minute Intervals:
mcd_supply- Five-minute Intervals
The rest of the metrics have Daily Intervals.
Latency
Available Assets
Collateral assets of Single-Collateral DAI:
weth
Collateral assets of Multi-Collateral DAI:
wethbasic-attention-tokenkyber-network0xyearn-financewrapped-bitcoinchainlinkloopringweth-bdecentralandbalancercompound
USD-based Stablecoin collaterals:
tetherpaxos-standard-tokenusdc-bdaitrueusdgemini-dollar
Assets available for metrics:
scd_locked_token,mcd_collat_ratio_weth,scd_collat_ratio-wethdaily_dai_collat_ratio_stablecoin- USD-based stablecoin collateralsdaily_dai_collat_ratio_wbtc-wrapped-bitcoinmcd_erc20_supply,mcd_supply,msd_dsr-multi-collateral-dai
SanAPI
Token Locked in Multi-Collateral CDPs
{ getMetric(metric: "mcd_locked_token") { timeseriesDataJson( slug: "weth" from: "2020-04-01T00:00:00Z" to: "2020-04-07T00:00:00Z" interval: "1d") }}DAI ERC20 token total supply:
{ getMetric(metric: "mcd_erc20_supply") { timeseriesDataJson( slug: "multi-collateral-dai" from: "2020-04-01T00:00:00Z" to: "2020-04-07T00:00:00Z" interval: "1d") }}DAI Total supply:
{ getMetric(metric: "mcd_supply") { timeseriesDataJson( slug: "multi-collateral-dai" from: "2020-04-02T00:00:00Z" to: "2020-04-03T00:00:00Z" interval: "5m") }}SCD Collateral Ratio:
{ getMetric(metric: "scd_collat_ratio") { timeseriesDataJson( slug: "weth" from: "2020-04-01T00:00:00Z" to: "2020-04-07T00:00:00Z" interval: "1d") }}