> ## 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.

# Slashing Metrics

## Contents

* [Count of Double Attestation Slashing Events](https://kb.talostrading.com/coinmetrics/network-data/network-data-overview/staking/slashing-metrics.md#slashattdblevcnt)
* [Count of Attester Slashing Events](https://kb.talostrading.com/coinmetrics/network-data/network-data-overview/staking/slashing-metrics.md#slashattevcnt)
* [Count of Surrounding Attestation Slashing Events](https://kb.talostrading.com/coinmetrics/network-data/network-data-overview/staking/slashing-metrics.md#slashattsurrevcnt)
* [Proposer Slashing Events](https://kb.talostrading.com/coinmetrics/network-data/network-data-overview/staking/slashing-metrics.md#slashpropevcnt)
* [Total Slashing Events](https://kb.talostrading.com/coinmetrics/network-data/network-data-overview/staking/slashing-metrics.md#slashevcnt)
* [Slashed Amounts](https://kb.talostrading.com/coinmetrics/network-data/network-data-overview/staking/slashing-metrics.md#slashedntv)

## Count of Double Attestation Slashing Events

### Definition

Count of attester slashing events cause by double attestations

| Name | MetricID | Unit | Interval |
| - | - | - | - |
| Count of Double Attestation Slashing Events | SlashAttDblEvCnt | N/A | 1 minute |

### Details

* Count of the total double attesting slashing events enforced by the protocol in the last 1 minute

### Release History

* Released November 2023.

### Availability for Assets

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

## Count of Attester Slashing Events

### Definition

Count of attester slashing events.

| Name | MetricID | Unit | Interval |
| - | - | - | - |
| Count Attester Slashing Events | SlashAttEvCnt | N/A | 1 minute |

### Details

* Count of the total attester slashing events enforced by the protocol in the last 1 minute

### Release History

* Released November 2023.

### Availability for Assets

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

## Count of Surrounding Attestation Slashing Events

### Definition

Count of surrounding attestation slashing events.

| Name | MetricID | Unit | Interval |
| - | - | - | - |
| Count of Surrounding Attestation Slashing Events | SlashAttSurrEvCnt | N/A | 1 minute |

### Details

* Count of the total Surrounding Attestation Slashing events enforced by the protocol in the last 1 minute

### Release History

* Released November 2023.

### Availability for Assets

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

## Proposer Slashing Events

### Definition

Count of proposer slashing events.

| Name | MetricID | Unit | Interval |
| - | - | - | - |
| Proposer Slashing Events | SlashPropEvCnt | N/A | 1 minute |

### Details

* Count of the total number of proposer slashing events enforced by the protocol in the last 1 minute

### Release History

* Released November 2023.

### Availability for Assets

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

## Total Slashing Events

### Definition

Count of total number of slashing events.

| Name | MetricID | Unit | Interval |
| - | - | - | - |
| Total Slashing Events | SlashEvCnt | Events | 1 minute |

### Details

* Count of the total number of slashing events, including attester and proposer slashing events enforced by the protocol in the last 1 minute

### Release History

* Released November 2023.

### Availability for Assets

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

## Slashed Amounts

### Definition

Amount of tokens slashed from Validators in native units

| Name | MetricID | Unit | Interval |
| - | - | - | - |
| Slashed Amounts | SlashedNtv | Native Units | 1 day, 1 hour |

### Asset Specific Details

This metric is available for Ethereum only under the ETH\_CL ticker. The definition of slashing follows that of Ethereum as outlined here: [https://ethereum.org/en/developers/docs/consensus-mechanisms/pos/rewards-and-penalties/#slashing](https://ethereum.org/en/developers/docs/consensus-mechanisms/pos/rewards-and-penalties/#slashing)

### Release History

* Released November 2023.

### Availability for Assets

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

## API Endpoints

Slashing metrics can be accessed using these endpoints:

* `timeseries/asset-metrics`

and by passing in the metric ID's `Slash*` in the `metrics` parameter.

> [tab] Shell
>
> ```shell theme={null}
> curl --compressed "https://api.coinmetrics.io/v4/timeseries/asset-metrics?metrics=SlashAttDblEvCnt&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=SlashAttDblEvCnt&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="SlashAttDblEvCnt", 
>         assets="eth_cl",
>     ).to_dataframe()
> )
> ```
