> ## Documentation Index
> Fetch the complete documentation index at: https://kb.talostrading.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Consensus Health

## Contents

* [Attestation Count](https://kb.talostrading.com/coinmetrics/network-data/network-data-overview/staking/consensus-health.md#attestcnt)
* [Attestations in Epoch](https://kb.talostrading.com/coinmetrics/network-data/network-data-overview/staking/consensus-health.md#attestepochcnt)
* [Count of Validators with Attestation in Epoch](https://kb.talostrading.com/coinmetrics/network-data/network-data-overview/staking/consensus-health.md#attestepochvalcnt)
* [Count of Validators with Attestation](https://kb.talostrading.com/coinmetrics/network-data/network-data-overview/staking/consensus-health.md#attestvalcnt)
* [Count of Validators with Late Attestation](https://kb.talostrading.com/coinmetrics/network-data/network-data-overview/staking/consensus-health.md#attestvallatecnt)
* [Current Epoch](https://kb.talostrading.com/coinmetrics/network-data/network-data-overview/staking/consensus-health.md#epochcurr)
* [Latest Finalized Epoch](https://kb.talostrading.com/coinmetrics/network-data/network-data-overview/staking/consensus-health.md#epochfinal)
* [Latest Justified Epoch](https://kb.talostrading.com/coinmetrics/network-data/network-data-overview/staking/consensus-health.md#epochjust)
* [Participation Rate](https://kb.talostrading.com/coinmetrics/network-data/network-data-overview/staking/consensus-health.md#epochjust-1)

## Attestation Count

### Definition

Count of Attestations in a 1 minute interval. One attestation can aggregate multiple validators votes.

| Name | MetricID | Unit | Interval |
| - | - | - | - |
| Attestation Count | AttestCnt | Attestations | 1 minute |

### Details

* Count of all attestations in the last 1 minute interval.

### Release History

* Released November 2023.

### Availability for Assets

[https://coverage.coinmetrics.io/asset-metrics/AttestCnt](https://coverage.coinmetrics.io/asset-metrics/AttestCnt)

## Attestations in Epoch

### Definition

Count of Attestations in a 1 minute interval within the current Epoch. One attestation can aggregate multiple validators votes.

| Name | MetricID | Unit | Interval |
| - | - | - | - |
| Attestations in Epoch Count | AttestEpochCnt | Attestations | 1 minute |

### Details

* Count of all attestations in the last 1 minute interval in the current Epoch.
* If the current 1 minute window spans an Epoch boundary only attestations in the current Epoch are counted.

### Release History

* Released November 2023.

### Availability for Assets

[https://coverage.coinmetrics.io/asset-metrics/AttestEpochCnt](https://coverage.coinmetrics.io/asset-metrics/AttestEpochCnt)

## Count of Validators with Attestation in Epoch

### Definition

Count of Validators who attested in a 1 minute interval within the current Epoch.

| Name | MetricID | Unit | Interval |
| - | - | - | - |
| Count of Validators with Attestation in Epoch | AttestEpochValCnt | Validators | 1 minute |

### Details

* Count of all validators who attested in the last 1 minute interval in the current Epoch.
* If the current 1 minute window spans an Epoch boundary only validators attesting in the current Epoch are counted.

### Release History

* Released November 2023.

### Availability for Assets

[https://coverage.coinmetrics.io/asset-metrics/AttestEpochValCnt](https://coverage.coinmetrics.io/asset-metrics/AttestEpochValCnt)

## Count of Validators with Attestation

### Definition

Count of Validators who attested in a 1 minute interval.

| Name | MetricID | Unit | Interval |
| - | - | - | - |
| Count of Validators with Attestation | AttestValCnt | Validators | 1 minute |

### Details

* Count of all validators who attested in the last 1 minute interval.

### Release History

* Released November 2023.

### Availability for Assets

[https://coverage.coinmetrics.io/asset-metrics/AttestValCnt](https://coverage.coinmetrics.io/asset-metrics/AttestValCnt)

## Count of Validators with Late Attestation

### Definition

Count of Validators who attested late in a 1 minute interval.

<table><thead><tr><th>Name</th><th width="164">MetricID</th><th>Unit</th><th>Interval</th></tr></thead><tbody><tr><td>Count of Validators with Late Attestation</td><td>AttestValLateCnt</td><td>Validators</td><td>1 minute</td></tr></tbody></table>

### Details

* Count of all validators who attested late in the last 1 minute interval.
* A late attestation is one whose slot is not the previous slot

### Release History

* Released November 2023.

### Availability for Assets

[https://coverage.coinmetrics.io/asset-metrics/AttestValLateCnt](https://coverage.coinmetrics.io/asset-metrics/AttestValLateCnt)

## Current Epoch

### Definition

Number of the current Epoch

| Name | MetricID | Unit | Interval |
| - | - | - | - |
| Current Epoch | EpochCurr | Epoch | 1 minute |

### Details

* Returns the number of the current Epoch, updated on a 1 minute interval

### Release History

* Released November 2023.

### Availability for Assets

[https://coverage.coinmetrics.io/asset-metrics/EpochCurr](https://coverage.coinmetrics.io/asset-metrics/EpochCurr)

## Latest Finalized Epoch

### Definition

Number of the latest finalized Epoch

| Name | MetricID | Unit | Interval |
| - | - | - | - |
| Latest Finalized Epoch | EpochFinal | Epoch | 1 minute |

### Details

* Returns the number of the latest Finalized Epoch, updated on a 1 minute interval.
* Finalization rules follow those of the underlying protocol.

### Release History

* Released November 2023.

### Availability for Assets

[https://coverage.coinmetrics.io/asset-metrics/EpochFinal](https://coverage.coinmetrics.io/asset-metrics/EpochFinal)

## Latest Justified Epoch

### Definition

Number of the latest justified Epoch

| Name | MetricID | Unit | Interval |
| - | - | - | - |
| Latest Justified Epoch | EpochJust | Epoch | 1 minute |

### Details

* Returns the number of the latest Justified Epoch, updated on a 1 minute interval.
* Rules for considering an Epoch Justified follow those of the underlying protocol.

### Release History

* Released November 2023.

### Availability for Assets

[https://coverage.coinmetrics.io/asset-metrics/EpochJust](https://coverage.coinmetrics.io/asset-metrics/EpochJust)

## Participation Rate

### Definition

Rate of Validators participating in each Epoch

| Name | MetricID | Unit | Interval |
| - | - | - | - |
| Participation Rate | StkPartRateMean | Dimensionless | 1 day |

### Details

* Returns the percent of validation stake that participated in the time interval out of the total eligible validation stake that could have participated
* Calculated for each epoch in the time period and aggregated across the time period.
* Formula for each Epoch: `target attesting gwei / active gwei`&#x20;

### Release History

* Released May 2024.

### Availability for Assets

[https://coverage.coinmetrics.io/asset-metrics/StkPartRateMean](https://coverage.coinmetrics.io/asset-metrics/StkPartRateMean)

## API Endpoints

Consensus Health metrics can be accessed using these endpoints:

* `timeseries/asset-metrics`

and by passing in the metric ID's above (`Attest*`, `Epoch*` , etc) in the `metrics` parameter.

`GET /timeseries/asset-metrics`

> [tab] Shell
>
> ```shell theme={null}
> curl --compressed "https://api.coinmetrics.io/v4/timeseries/asset-metrics?metrics=AttestCnt&assets=eth_cl&frequency=1m&pretty=true&api_key=<your_key>"
> ```

> [tab] Python
>
> ```python theme={null}
> import requests
> response = requests.get('https://api.coinmetrics.io/v4/timeseries/asset-metrics?metrics=AttestCnt&assets=eth_cl&frequency=1m&pretty=true&api_key=<your_key>').json()
> print(response)
> ```

> [tab] Python Client
>
> ```python theme={null}
> from coinmetrics.api_client import CoinMetricsClient
>
> api_key = "<API_KEY>"
> client = CoinMetricsClient(api_key)
>
> print(
>     client.get_asset_metrics(
>         metrics="AttestCnt", 
>         assets="eth_cl",
>     ).to_dataframe()
> )
> ```
