ETH 2.0 Metrics
Description
Metrics that show stats related to the ETH 2.0 Staking Contract
eth2_stakers_count
- amount of addresses that sent ETH to the ETH 2.0 Staking Contracteth2_roi
- the annual return on staking in the ETH 2.0 contracteth2_staked_amount_per_label
- total staked amount by labeleth2_staked_address_count_per_label
- amount of addresses that staked ETH by labeleth2_unlabeled_staker_inflow_sources
- shows sources from which unlabeled stakers received ETHeth2_top_stakers
- top addresses by staked amount
Access
Measuring Unit
eth2_stakers_count
- Amount of addresseseth2_roi
- Percents
Data Type
Frequency
Latency
Available Assets
ethereum
SanAPI
ETH 2.0 Staker Count:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
{ getMetric(metric: "eth2_stakers_count") { timeseriesData( selector: { slug: "ethereum" } from: "2020-12-05T00:00:00Z" to: "2020-12-06T00:00:00Z" interval: "5m" ) { datetime value } } }
ETH 2.0 Staking ROI:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
{ getMetric(metric: "eth2_roi") { timeseriesData( selector: { slug: "ethereum" } from: "2020-12-05T00:00:00Z" to: "2020-12-06T00:00:00Z" interval: "5m" ) { datetime value } } }
ETH 2.0 Total Staked Amount:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
{ getMetric(metric: "balance_per_owner") { timeseriesData( selector: { slug: "ethereum" label: "eth2stakingcontract" owner: "eth2stakingcontract" } from: "2020-12-05T00:00:00Z" to: "2020-12-06T00:00:00Z" interval: "5m" ) { datetime value } } }
Staked amount per label:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
{ getMetric(metric: "eth2_staked_amount_per_label") { histogramData( selector: {slug: "ethereum"} from: "utc_now-70d" to:"utc_now" ){ values{ __typename ... on StringLabelFloatValueList{ data{ label value } } } } } }
Count of addresses that staked:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
{ getMetric(metric: "eth2_staked_address_count_per_label"){ histogramData( selector: {slug: "ethereum"} from: "utc_now-10d" to: "utc_now" ){ values{ ... on StringLabelFloatValueList{ data{ label value } } } } } }
Sources for the unlabelled stakes source:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
{ getMetric(metric: "eth2_unlabeled_staker_inflow_sources"){ histogramData( selector: {slug: "ethereum"} from: "utc_now-10d" to: "utc_now" ){ values{ ... on StringLabelFloatValueList{ data{ label value } } } } } }
Top stakers:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{
getMetric(metric: "eth2_top_stakers"){
histogramData(
selector: {slug: "ethereum"}
from: "utc_now-10d"
to: "utc_now"
limit: 2
){
values{
... on StringAddressStringLabelFloatValueList{
data{
address
label
value
}
}
}
}
}
}