Skip to main content

Slashing Metrics

Contents​

Count of Double Attestation Slashing Events ​

Definition​

Count of attester slashing events cause by double attestations

NameMetricIDUnitInterval
Count of Double Attestation Slashing EventsSlashAttDblEvCntN/A1 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​

Embedded content

Count of Attester Slashing Events ​

Definition​

Count of attester slashing events.

NameMetricIDUnitInterval
Count Attester Slashing EventsSlashAttEvCntN/A1 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​

Embedded content

Count of Surrounding Attestation Slashing Events ​

Definition​

Count of surrounding attestation slashing events.

NameMetricIDUnitInterval
Count of Surrounding Attestation Slashing EventsSlashAttSurrEvCntN/A1 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​

Embedded content

Proposer Slashing Events ​

Definition​

Count of proposer slashing events.

NameMetricIDUnitInterval
Proposer Slashing EventsSlashPropEvCntN/A1 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​

Embedded content

Total Slashing Events ​

Definition​

Count of total number of slashing events.

NameMetricIDUnitInterval
Total Slashing EventsSlashEvCntEvents1 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​

Embedded content

Slashed Amounts ​

Definition​

Amount of tokens slashed from Validators in native units

NameMetricIDUnitInterval
Slashed AmountsSlashedNtvNative Units1 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​

Embedded content

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()
)