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 Contract
  • eth2_roi - the annual return on staking in the ETH 2.0 contract
  • eth2_staked_amount_per_label - total staked amount by label
  • eth2_staked_address_count_per_label - amount of addresses that staked ETH by label
  • eth2_unlabeled_staker_inflow_sources - shows sources from which unlabeled stakers received ETH
  • eth2_top_stakers - top addresses by staked amount

Access

Restricted Access.


Measuring Unit

  • eth2_stakers_count - Amount of addresses
  • eth2_roi - Percents

Data Type

Timeseries Data


Frequency

Five-minute Intervals


Latency

Price 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
    }
  }
}

Run in Explorer

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
    }
  }
}

Run in Explorer

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
    }
  }
}

Run in Explorer

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
          }
      	}
      }
    }
  }
}

Run in Explorer

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
          }
        }
      }
    }
  }
}

Run in Explorer

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
          }
        }
      }
    }
  }
}

Run in Explorer

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
          }
        }
      }
    }
  }
}

Run in Explorer

Was this article helpful?