- Description
- Metrics related to Spark protocol:
- Access
- Measuring Unit
- Data Type
- Frequency
- Latency
- Available Assets
- SanAPI
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.
Metrics related to Spark protocol:
Action metrics:
spark_action_deposits
- Amount of deposited tokensspark_action_deposits_usd
- Amount of deposited tokens in USDspark_action_liquidations
- Amount of liquidated tokensspark_action_liquidations_usd
- Amount of liquidated tokens in USDspark_action_new_debt
- Amount of borrowed tokensspark_action_new_debt_usd
- Amount of borrowed tokens in USDspark_action_repayments
- Amount of repaid tokensspark_action_repayments_usd
- Amount of repaid tokens in USD
Total supplied/borrowed metrics:
spark_total_supplied
- Total supplied tokensspark_total_supplied_usd
- Total supplied tokens in USDspark_total_borrowed
- Total borrowed tokensspark_total_borrowed_usd
- Total borrowed tokens in USD
APY (annual percentage yield) metric:
spark_supply_apy
- Supply APYspark_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)
Protocol total supplied/borrowed metrics:
spark_protocol_total_supplied_usd
- Total amount supplied on Spark (combining all assets in USD)spark_protocol_total_borrowed_usd
- Total amount borrowed on Spark (combining all assets in USD)
Daily active addresses:
spark_active_addresses
- Daily active addresses on Spark protocol
Access
Measuring Unit
- Amount in tokens/USD
- APY metrics in percentage
Data Type
Frequency
- Five-minute Intervals - Actions and APY metrics
- Daily Intervals - Active addresses metric
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 } } }
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 } } }
Total supplied/borrowed metrics: spark_total_supplied<_usd>
and
spark_total_borrowed<_usd>
1 2 3 4 5 6 7 8 9 10 11 12 13
{ getMetric(metric: "spark_total_supplied"){ timeseriesData( slug: "wrapped-bitcoin" from: "2023-04-01T00:00:00Z" to: "2023-04-07T00:00:00Z" includeIncompleteData: true interval: "5m"){ datetime value } } }
Protocol total supplied/borrowed metrics: spark_protocol_total_supplied_usd
and
spark_protocol_total_borrowed_usd
1 2 3 4 5 6 7 8 9 10 11 12 13
{ getMetric(metric: "spark_protocol_total_supplied_usd"){ timeseriesData( slug: "maker" from: "2023-04-01T00:00:00Z" to: "2023-04-07T00:00:00Z" includeIncompleteData: true interval: "5m"){ datetime value } } }
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 } } }
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 } } }