Slashing Metrics
Contents
- Count of Double Attestation Slashing Events
- Count of Attester Slashing Events
- Count of Surrounding Attestation Slashing Events
- Proposer Slashing Events
- Total Slashing Events
- Slashed Amounts
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
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
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
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
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
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
Release History
- Released November 2023.
Availability for Assets
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.
Shell
curl --compressed "https://api.coinmetrics.io/v4/timeseries/asset-metrics?metrics=SlashAttDblEvCnt&assets=eth_cl&frequency=1m&pretty=true&api_key=<your_key>"
Python
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)
Python Client
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()
)