Aave V2

    Description

    Aave V2 is the second version of the Aave protocol.

    One of the key new features of Aave V2 is "stable-rate borrowing," which allows users to lock in a fixed interest rate for their loans rather than being subject to the variable interest rates that are common in DeFi lending. This makes borrowing more predictable and stable, reducing the risk of sudden interest rate spikes that can make loans more expensive to repay.

    Action metrics:

    • aave_v2_action_deposits - Amount of deposited tokens
    • aave_v2_action_liquidations - Amount of liquidated tokens
    • aave_v2_action_new_debt - Amount of borrowed tokens
    • aave_v2_action_repayments - Amount of repaid tokens

    Note: All of the above metrics are also available in USD using the _usd suffix (for example: aave_v2_action_deposits_usd).

    Total action metrics:

    • aave_v2_total_deposits_usd - Amount of all deposits in usd
    • aave_v2_total_liquidations_usd - Amount of all liquidations in usd
    • aave_v2_total_new_debt_usd - Amount of all borrowings in usd
    • aave_v2_total_repayments_usd - Amount of all repayments in usd

    Total supplied/borrowed metrics:

    • aave_v2_total_supplied - Total supplied tokens
    • aave_v2_total_supplied_usd - Total supplied tokens in usd
    • aave_v2_total_borrowed - Total borrowed tokens
    • aave_v2_total_borrowed_usd - Total borrowed tokens in usd

    Protocol total supplied/borrowed metrics:

    • aave_v2_protocol_total_supplied_usd - Total supplied on Aave V2 (for all assets in usd)
    • aave_v2_protocol_total_borrowed_usd - Total borrowed on Aave V2 (for all assets in usd)

    APY (annual percentage yield) metrics:

    • aave_v2_supply_apy - Supply APY
    • aave_v2_stable_borrow_apy - Stable borrow APY (stable interest rate will stay the same for the duration of the loan)
    • aave_v2_variable_borrow_apy - Variable borrow APY (variable interest rate will fluctuate based on the market conditions)

    Daily active addresses:

    • aave_v2_active_addresses - Daily active addresses on Aave V2

    Access

    Restricted Access.


    Measuring Unit

    Amount in tokens/USD

    APY metric in percentages


    Data Type

    Timeseries Data


    Frequency

    Five-minute Intervals


    Latency

    On-Chain Latency


    Available Assets

    Total action metrics: available for aave

    Other metrics: available for these assets


    SanAPI

    Action metrics: aave_v2_action_deposits<_usd>, aave_v2_action_liquidations<_usd>, aave_v2_action_new_debt<_usd> and aave_v2_action_repayments<_usd>

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

    Run in Explorer

    Total action metrics: aave_v2_total_deposits_usd, aave_v2_total_liquidations_usd, aave_v2_total_new_debt_usd and aave_v2_total_repayments_usd

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    {
      getMetric(metric: "aave_v2_total_new_debt_usd"){
        timeseriesData(
          slug: "aave"
          from: "2022-11-01T00:00:00Z"
          to: "2022-11-03T00:00:00Z"
          includeIncompleteData: true
          interval: "5m"){
            datetime
            value
          }
      }
    }

    Run in Explorer

    Total supplied/borrowed metrics: aave_v2_total_supplied<_usd> and aave_v2_total_borrowed<_usd>

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

    Run in Explorer

    Protocol total supplied/borrowed metrics: aave_v2_protocol_total_supplied_usd and aave_v2_protocol_total_borrowed_usd

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    {
      getMetric(metric: "aave_v2_protocol_total_supplied_usd"){
        timeseriesData(
          slug: "aave"
          from: "2022-11-01T00:00:00Z"
          to: "2022-11-03T00:00:00Z"
          includeIncompleteData: true
          interval: "5m"){
            datetime
            value
          }
      }
    }

    Run in Explorer

    APY metrics: aave_v2_supply_apy, aave_v2_stable_borrow_apy and aave_v2_variable_borrow_apy

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

    Run in Explorer

    Daily active addresses: aave_v2_active_addresses

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

    Run in Explorer