Compound
Description
Metrics related to Compound protocol.
Action metrics:
compound_action_deposits
- Amount of deposited tokenscompound_action_liquidations
- Amount of liquidated tokenscompound_action_new_debt
- Amount of borrowed tokenscompound_action_repayments
- Amount of repaid tokens
Note: All of the above metrics are also available in USD using the
_usd
suffix (for example:compound_action_deposits_usd
).
Total action metrics:
compound_total_deposits_usd
- Amount of all deposits in usdcompound_total_liquidations_usd
- Amount of all liquidations in usdcompound_total_new_debt_usd
- Amount of all borrowings in usdcompound_total_repayments_usd
- Amount of all repayments 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
Access
Measuring Unit
Amount in tokens/USD
Data Type
Frequency
Latency
Available Assets
Total action metrics: 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 } } }