Compound Protocol
Description
Compound is a decentralized finance (DeFi) protocol built on the Ethereum blockchain that allows individuals to lend and borrow digital assets without intermediaries. Compound is designed to create a market for lending and borrowing digital assets, where users can earn interest by lending their assets and borrowers can obtain loans by using their assets as collateral.
Metrics related to Compound protocol:
Action metrics:
compound_action_deposits
- Amount of deposited tokenscompound_action_deposits_usd
- Amount of deposited tokens in USDcompound_action_liquidations
- Amount of liquidated tokenscompound_action_liquidations_usd
- Amount of liquidated tokens in USDcompound_action_new_debt
- Amount of borrowed tokenscompound_action_new_debt_usd
- Amount of borrowed tokens in USDcompound_action_repayments
- Amount of repaid tokenscompound_action_repayments_usd
- Amount of repaid tokens in USD
Total supplied/borrowed metrics:
compound_total_supplied
- Total supplied tokenscompound_total_supplied_usd
- Total supplied tokens in USDcompound_total_borrowed
- Total borrowed tokenscompound_total_borrowed_usd
- Total borrowed tokens in USD
APY (annual percentage yield) metrics:
compound_supply_apy
- Supply APYcompound_borrow_apy
- Borrow APY
Protocol total action metrics:
compound_total_deposits_usd
- Total amount of deposits on Compound (combining all assets in USD)compound_total_liquidations_usd
- Total amount of liquidations on Compound (combining all assets in USD)compound_total_new_debt_usd
- Total amount of borrowings on Compound (combining all assets in USD)compound_total_repayments_usd
- Total amount of repayments on Compound (combining all assets in USD)
Protocol total supplied/borrowed metrics:
compound_protocol_total_supplied_usd
- Total amount supplied on Compound (combining all assets in USD)compound_protocol_total_borrowed_usd
- Total amount borrowed on Compound (combining all assets in USD)
Daily active addresses:
compound_active_addresses
- Daily active addresses on Compound
Revenue metrics:
compound_revenue
- Compound Revenue per assetcompound_revenue_usd
- Compound Revenue in USD per assetcompound_total_protocol_revenue_usd
- Compound Total Protocol Revenuecompound_total_protocol_cumulative_revenue_usd
- Daily Compound Total Protocol Cumulative Revenue
Access
Measuring Unit
- Amount in tokens/USD
- APY metrics in percentages
Data Type
Frequency
- Five-minute Intervals - Actions, supply, borrow, and APY metrics
- Daily Intervals - Revenue and active addresses metrics
Latency
Available Assets
Metrics related to the entire protocol available for compound
Other metrics: available for these assets
SanAPI
Action metrics: compound_action_deposits<_usd>
, compound_action_liquidations<_usd>
,
compound_action_new_debt<_usd>
and compound_action_repayments<_usd>
1 2 3 4 5 6 7 8 9 10 11 12 13
{ getMetric(metric: "compound_action_deposits_usd"){ timeseriesData( slug: "ethereum" from: "2022-11-01T00:00:00Z" to: "2022-11-03T00:00:00Z" includeIncompleteData: true interval: "5m"){ datetime value } } }
Total action metrics: compound_total_deposits_usd
, compound_total_liquidations_usd
,
compound_total_new_debt_usd
and compound_total_repayments_usd
1 2 3 4 5 6 7 8 9 10 11 12 13
{ getMetric(metric: "compound_total_new_debt_usd"){ timeseriesData( slug: "compound" from: "2022-11-01T00:00:00Z" to: "2022-11-03T00:00:00Z" includeIncompleteData: true interval: "5m"){ datetime value } } }
Total supplied/borrowed metrics: compound_total_supplied<_usd>
and
compound_total_borrowed<_usd>
1 2 3 4 5 6 7 8 9 10 11 12 13
{ getMetric(metric: "compound_total_supplied"){ timeseriesData( slug: "wrapped-bitcoin" from: "2022-11-01T00:00:00Z" to: "2022-11-03T00:00:00Z" includeIncompleteData: true interval: "5m"){ datetime value } } }
Protocol total supplied/borrowed metrics: compound_protocol_total_supplied_usd
and
compound_protocol_total_borrowed_usd
1 2 3 4 5 6 7 8 9 10 11 12 13
{ getMetric(metric: "compound_protocol_total_supplied_usd"){ timeseriesData( slug: "compound" from: "2022-11-01T00:00:00Z" to: "2022-11-03T00:00:00Z" includeIncompleteData: true interval: "5m"){ datetime value } } }
APY metrics: compound_supply_apy
and compound_borrow_apy
1 2 3 4 5 6 7 8 9 10 11 12 13
{ getMetric(metric: "compound_supply_apy"){ timeseriesData( slug: "wrapped-bitcoin" from: "2023-01-01T00:00:00Z" to: "2023-03-01T00:00:00Z" includeIncompleteData: true interval: "5m"){ datetime value } } }
Daily active addresses: compound_active_addresses
1 2 3 4 5 6 7 8 9 10 11 12 13
{ getMetric(metric: "compound_active_addresses"){ timeseriesData( slug: "compound" from: "2023-01-01T00:00:00Z" to: "2023-01-10T00:00:00Z" includeIncompleteData: true interval: "1d"){ datetime value } } }
Revenue metrics: compound_revenue
, compound_revenue_usd
, compound_total_protocol_revenue_usd
and compound_total_protocol_cumulative_revenue_usd
1 2 3 4 5 6 7 8 9 10 11 12 13
{ getMetric(metric: "compound_revenue"){ timeseriesData( slug: "usd-coin" from: "2023-01-01T00:00:00Z" to: "2023-01-10T00:00:00Z" includeIncompleteData: true interval: "1d"){ datetime value } } }