Spark Protocol

    Description

    Spark is a lending and borrowing crypto protocol developed by MakerDAO. Spark aims to offer competitive interest rates and enhanced liquidity within the DeFi ecosystem, integrating the best liquidity from Maker and seamlessly incorporating the best DeFi protocols. The protocol incorporates with MakerDAO's existing infrastructure, ensuring stability and security. By utilizing Spark, users can efficiently manage their crypto assets and optimize their financial strategies within the decentralized finance landscape.

    Action metrics:

    • spark_action_deposits - Amount of deposited tokens
    • spark_action_deposits_usd - Amount of deposited tokens in USD
    • spark_action_liquidations - Amount of liquidated tokens
    • spark_action_liquidations_usd - Amount of liquidated tokens in USD
    • spark_action_new_debt - Amount of borrowed tokens
    • spark_action_new_debt_usd - Amount of borrowed tokens in USD
    • spark_action_repayments - Amount of repaid tokens
    • spark_action_repayments_usd - Amount of repaid tokens in USD

    APY (annual percentage yield) metric:

    • spark_supply_apy - Supply APY
    • spark_borrow_apy - Variable borrow APY (variable interest rate will fluctuate based on the market conditions)

    Protocol total action metrics:

    • spark_total_deposits_usd - Total amount of deposits on Spark protocol (combining all assets in USD)
    • spark_total_liquidations_usd - Total amount of liquidations on Spark protocol (combining all assets in USD)
    • spark_total_new_debt_usd - Total amount of borrowings on Spark protocol (combining all assets in USD)
    • spark_total_repayments_usd - Total amount of repayments on Spark protocol (combining all assets in USD)

    Daily active addresses:

    • spark_active_addresses - Daily active addresses on Spark protocol

    Access

    Restricted Access


    Measuring Unit

    • Amount in tokens/USD
    • APY metrics in percentage

    Data Type

    Timeseries Data


    Frequency


    Latency

    On-Chain Latency


    Available Assets

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

    Other metrics: available for these assets


    SanAPI

    Action metrics: spark_action_deposits<_usd>, spark_action_liquidations<_usd>, spark_action_new_debt<_usd> and spark_action_repayments<_usd>

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    {
      getMetric(metric: "spark_action_deposits_usd"){
        timeseriesData(
          slug: "weth"
          from: "2024-01-01T00:00:00Z"
          to: "2024-02-01T00:00:00Z"
          includeIncompleteData: true
          interval: "1d"){
            datetime
            value
          }
      }
    }

    Run in Explorer

    Total action metrics: spark_total_deposits_usd, spark_total_liquidations_usd, spark_total_new_debt_usd and spark_total_repayments_usd

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    {
      getMetric(metric: "spark_total_new_debt_usd"){
        timeseriesData(
          slug: "multi-collateral-dai"
          from: "2024-01-10T00:00:00Z"
          to: "2024-01-12T00:00:00Z"
          includeIncompleteData: true
          interval: "1h"){
            datetime
            value
          }
      }
    }

    Run in Explorer

    APY metric: spark_supply_apy and spark_borrow_apy

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    {
      getMetric(metric: "spark_supply_apy"){
        timeseriesData(
          slug: "wrapped-bitcoin"
          from: "2024-08-01T00:00:00Z"
          to: "2024-08-07T00:00:00Z"
          includeIncompleteData: true
          interval: "5m"){
            datetime
            value
          }
      }
    }

    Run in Explorer

    Daily active addresses: spark_active_addresses

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

    Run in Explorer