GET
/
v0
/
eth
/
slashings
curl --request GET \
  --url https://api.rated.network/v0/eth/slashings \
  --header 'Authorization: Bearer <token>'
{
  "page": {
    "from": 123,
    "to": 123,
    "size": 10,
    "granularity": "hour",
    "filterType": "hour"
  },
  "total": 1,
  "data": [
    {
      "balanceBeforeSlashing": 32001900366,
      "balanceBeforeWithdrawal": 30980804667,
      "slashingEpoch": 203644,
      "slashingPenalties": 1021095699,
      "validatorIndex": 516858,
      "validatorPubkey": "0xafa647044b05fd7d7f3cfd806170fc9774bf37cbcfd4f083528522bb2a011e57f3af00f8bb8435a9d3316816e4cdb022",
      "withdrawableEpoch": 211836
    }
  ],
  "next": "<string>"
}

This endpoint gives a paginated list of all slashed validators, their index, pubkey, slashing epoch, withdrawable epoch, balance before slashing, balance before withdrawal, and the penalties incurred from getting slashed.

If a slashed validator is not yet withdrawable, their balances before withdrawal and corresponding penalties will update every refresh until they become withdrawable.

Hereโ€™s how to interpret the inputs required to operate it ๐Ÿ‘‡

ParameterContext
fromStart day (integer) or datetime (e.g. from=โ€œ2022-12-01โ€)
sizeThe number of results included per page

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

X-Rated-Network
enum<string>
Available options:
mainnet,
hoodi,
holesky

Query Parameters

from
Required range: x >= 0
size
integer
default:10

Response

200
application/json

Successful Response

The response is of type object.