MakerDAO Protocol

Description

MakerDAO is a decentralized finance (DeFi) platform built on the Ethereum blockchain that allows individuals to create and manage the DAI stablecoin, which is pegged to the value of the US dollar. MakerDAO uses a system of smart contracts to manage the creation and redemption of DAI tokens, which can be used for a variety of purposes, such as payments, trading, and investment.

One of the key features of MakerDAO is its collateralized debt position (CDP) system, which allows users to lock up their digital assets as collateral in order to generate DAI stablecoins. This creates a decentralized lending system that is independent of traditional financial intermediaries and allows users to access liquidity without having to sell their assets.

Action metrics:

  • makerdao_action_deposits - Amount of deposited tokens
  • makerdao_action_deposits_usd - Amount of deposited tokens in USD
  • makerdao_action_liquidations - Amount of liquidated tokens
  • makerdao_action_liquidations_usd - Amount of liquidated tokens in USD
  • makerdao_action_new_debt - Amount of borrowed tokens
  • makerdao_action_new_debt_usd - Amount of borrowed tokens in USD
  • makerdao_action_repayments - Amount of repaid tokens
  • makerdao_action_repayments_usd - Amount of repaid tokens in USD
  • makerdao_action_repayments_filtered - Amount of repaid tokens, excluding repayments from MEV bots and the LitePSM mechanism
  • makerdao_action_repayments_filtered_usd - Amount of repaid tokens in USD, excluding repayments from MEV bots and the LitePSM mechanism

New debt/repayments against collateral metrics:

  • dai_created - Amount of DAI created, backed by underlying collateral
  • dai_repaid - Amount of DAI repaid, backed by underlying collateral
  • total_dai_created - Amount of DAI in circulation, backed by underlying collateral

Total supplied/borrowed metrics:

  • makerdao_total_supplied - Total supplied tokens
  • makerdao_total_supplied_usd - Total supplied tokens in USD
  • makerdao_total_borrowed - Total borrowed tokens
  • makerdao_total_borrowed_usd - Total borrowed tokens in USD

Collateralization ratio and stability fee metrics:

  • mcd_collat_ratio - Ratio of collateral value to the value of the debt generated against that collateral
  • mcd_stability_fee - Variable interest rate charged on outstanding debt

Protocol total action metrics:

  • makerdao_total_deposits_usd - Total amount of deposits on MakerDAO (combining all assets in USD)
  • makerdao_total_liquidations_usd - Total amount of liquidations on MakerDAO (combining all assets in USD)
  • makerdao_total_new_debt_usd - Total amount of borrowings on MakerDAO (combining all assets in USD)
  • makerdao_total_repayments_usd - Total amount of repayments on MakerDAO (combining all assets in USD)

Protocol total supplied/borrowed metrics:

  • makerdao_protocol_total_supplied_usd - Total amount supplied on MakerDAO (combining all assets in USD)
  • makerdao_protocol_total_borrowed_usd - Total amount borrowed on MakerDAO (combining all assets in USD)

Daily active addresses:

  • makerdao_active_addresses - Daily active addresses on MakerDAO

MakerDAO metrics have been migrated to a new framework; old metrics can be accessed via their previous names, listed here: Deprecated MakerDAO Metrics. Although older data remains accessible through the API, we do not recommend its use.


Access

Restricted Access.


Measuring Unit

Amount in tokens/USD


Data Type

Timeseries Data


Frequency

Five-minute Intervals


Latency

On-Chain Latency


Available Assets

Metrics related to the entire protocol are available for maker and multi-collateral-dai.

Other metrics are available for these assets


SanAPI

Action metrics: makerdao_action_deposits<_usd>, makerdao_action_liquidations<_usd>, makerdao_action_new_debt<_usd>, makerdao_action_repayments<_usd> and makerdao_action_repayments_filtered<_usd>

{
getMetric(metric: "makerdao_action_deposits_usd"){
timeseriesDataJson(
slug: "weth"
from: "2022-11-01T00:00:00Z"
to: "2022-11-03T00:00:00Z"
includeIncompleteData: true
interval: "5m")
}
}

New debt/repayments against collateral metrics: dai_created, dai_repaid and total_dai_created

{
getMetric(metric: "dai_created"){
timeseriesDataJson(
slug: "weth"
from: "2022-11-01T00:00:00Z"
to: "2022-11-03T00:00:00Z"
includeIncompleteData: true
interval: "5m")
}
}

Total supplied/borrowed metrics: makerdao_total_supplied<_usd> and makerdao_total_borrowed<_usd>

{
getMetric(metric: "makerdao_total_supplied"){
timeseriesDataJson(
slug: "wrapped-bitcoin"
from: "2022-11-01T00:00:00Z"
to: "2022-11-03T00:00:00Z"
includeIncompleteData: true
interval: "5m")
}
}

Collateralization ratio and stability fee metrics: mcd_collat_ratio and mcd_stability_fee

{
getMetric(metric: "mcd_collat_ratio"){
timeseriesDataJson(
slug: "wrapped-bitcoin"
from: "2022-11-01T00:00:00Z"
to: "2022-11-03T00:00:00Z"
includeIncompleteData: true
interval: "1d")
}
}

Protocol total action metrics: makerdao_total_deposits_usd, makerdao_total_liquidations_usd, makerdao_total_new_debt_usd and makerdao_total_repayments_usd

{
getMetric(metric: "makerdao_total_new_debt_usd"){
timeseriesDataJson(
slug: "maker"
from: "2022-11-01T00:00:00Z"
to: "2022-11-03T00:00:00Z"
includeIncompleteData: true
interval: "5m")
}
}

Protocol total supplied/borrowed metrics: makerdao_protocol_total_supplied_usd and makerdao_protocol_total_borrowed_usd

{
getMetric(metric: "makerdao_protocol_total_supplied_usd"){
timeseriesDataJson(
slug: "multi-collateral-dai"
from: "2022-11-01T00:00:00Z"
to: "2022-11-03T00:00:00Z"
includeIncompleteData: true
interval: "5m")
}
}

Daily active addresses: makerdao_active_addresses

{
getMetric(metric: "makerdao_active_addresses"){
timeseriesDataJson(
slug: "maker"
from: "2023-01-01T00:00:00Z"
to: "2023-01-10T00:00:00Z"
includeIncompleteData: true
interval: "1d")
}
}