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 they 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 a token1
    • mcd_liquidation - Amount of liquidated tokens2
    • mcd_erc20_supply - DAI ERC20 token total supply
    • mcd_supply - The total amount of Multi-Collareral DAI tokens: DAI ERC20 Supply plus DAI in DSR
    • mcd_collat_ratio_weth - These metrics show the collateralization ratio of MCD collateral tokens.

    1: Please switch to the new metric makerdao_total_supplied_usd, 2: Please switch to the new metric makerdao_action_liquidations_usd


    Access

    Restricted Access.


    Measuring Unit

    The following metrics' unit is amount of coins:

    • mcd_locked_token
    • scd_locked_token
    • mcd_erc20_supply
    • mcd_supply

    The rest:

    • MakerDAO contract parameter values

    Data Type

    Timeseries Data


    Frequency

    The following metrics have Five-minute Intervals

    The rest of the metrics have Daily Intervals


    Latency

    Price Latency


    Available Assets

    Collateral assets of Single-Collateral DAI:

    • weth

    Collateral assets of Multi-Collateral DAI:

    • weth
    • basic-attention-token
    • kyber-network
    • 0x
    • yearn-finance
    • wrapped-bitcoin
    • chainlink
    • loopring
    • weth-b
    • decentraland
    • balancer
    • compound

    USD-based Stablecoin collaterals:

    • tether
    • paxos-standard-token
    • usdc-b
    • dai
    • trueusd
    • gemini-dollar

    Assets available for metrics:

    • scd_locked_token, mcd_collat_ratio_weth, scd_collat_ratio - weth
    • daily_dai_collat_ratio_stablecoin - USD-based stablecoin collaterals
    • daily_dai_collat_ratio_wbtc - wrapped-bitcoin
    • mcd_erc20_supply, mcd_supply, msd_dsr - multi-collateral-dai

    SanAPI

    Token Locked in Multi-Collateral CDPs

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    {
      getMetric(metric: "mcd_locked_token") {
        timeseriesData(
          slug: "weth"
          from: "2020-04-01T00:00:00Z"
          to: "2020-04-07T00:00:00Z"
          interval: "1d") {
            datetime
            value
        }
      }
    }

    Run in Explorer

    DAI ERC20 token total supply:

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    {
      getMetric(metric: "mcd_erc20_supply") {
        timeseriesData(
          slug: "multi-collateral-dai"
          from: "2020-04-01T00:00:00Z"
          to: "2020-04-07T00:00:00Z"
          interval: "1d") {
            datetime
            value
        }
      }
    }

    Run in Explorer

    DAI Total supply:

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    {
      getMetric(metric: "mcd_supply") {
        timeseriesData(
          slug: "multi-collateral-dai"
          from: "2020-04-02T00:00:00Z"
          to: "2020-04-03T00:00:00Z"
          interval: "5m") {
            datetime
            value
        }
      }
    }

    Run in Explorer

    SCD Collateral Ratio:

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    {
      getMetric(metric: "scd_collat_ratio") {
        timeseriesData(
          slug: "weth"
          from: "2020-04-01T00:00:00Z"
          to: "2020-04-07T00:00:00Z"
          interval: "1d") {
            datetime
            value
        }
      }
    }

    Run in Explorer