GET
/
v0
/
eth
/
slashings
curl --request GET \
  --url https://api.rated.network/v0/eth/slashings
{
  "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

Headers

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

Query Parameters

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

Response

200
application/json
Successful Response
page
object
required
total
integer
required
Required range: x > 0
data
object[]
required
next
string | null
required