GET
/
v0
/
eth
/
slashings
/
leaderboard
curl --request GET \
  --url https://api.rated.network/v0/eth/slashings/leaderboard
{
  "page": {
    "fromRank": 123,
    "toRank": 123,
    "size": 10
  },
  "total": 1,
  "data": [
    {
      "id": "<string>",
      "idType": "depositAddress",
      "slashes": 1,
      "medianSlashedMonth": "<string>",
      "slasherPedigree": "<string>",
      "slashingRole": "slashed",
      "validatorCount": 1
    }
  ],
  "next": "<string>"
}

Depending on the slashing role specified, this endpoint returns a list of entities either (1) according to how many times their validators have been slashed or (2) how many times their validators have proposed a block that included slashing report (i.e. letting the network know a slashing incident has occurred). These entities are arranged in descending order.

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

ParameterDescription
fromStart ranking (i.e. position in the leaderboard)
sizeThe number of results included per page
slashingRoleInput slashed to query to the slashed entities and slasher to query the slashing incident reporters

Headers

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

Query Parameters

from
integer
default:
0
size
integer
default:
10
slashingRole
enum<string>
Available options:
slashed,
slasher

Response

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