Slashes

ValidatorSlashes queries slash events of a validator.

GEThttps://atom.nownodes.io/cosmos/distribution/v1beta1/validators/{validator_address}/slashes
Path parameters
validator_address*string

validator_address defines the validator address to query for.

Query parameters
Response

A successful response.

Body
slashesarray of object

slashes defines the slashes the validator received.

paginationobject

pagination defines the pagination in the response.

Request
const response = await fetch('https://atom.nownodes.io/cosmos/distribution/v1beta1/validators/{validator_address}/slashes', {
    method: 'GET',
    headers: {},
});
const data = await response.json();
Response
{
  "slashes": [
    {
      "validator_period": "text",
      "fraction": "text"
    }
  ],
  "pagination": {
    "next_key": "Ynl0ZXM=",
    "total": "text"
  }
}

Last updated