---
title: "ValidatorSlashes queries slash events of a validator."
method: GET
path: "/cosmos/distribution/v1beta1/validators/{validator_address}/slashes"
tags: ["Query"]
---

# ValidatorSlashes queries slash events of a validator.

`GET /cosmos/distribution/v1beta1/validators/{validator_address}/slashes`

## Request

- Base URL: `https://api.nymtech.net` (the document declares no server; this is the origin it was published from)
- URL: `https://api.nymtech.net/cosmos/distribution/v1beta1/validators/{validator_address}/slashes`
- Auth: none declared
- TypeScript: <https://skmtc.dev/nymtech/apis/cosmos-sdk-grpc-gateway-docs/docs/cosmos/distribution/v1beta1/validators/:validator_address/slashes/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `validator_address` string, required

## Query parameters

- `starting_height` string, uint64
- `ending_height` string, uint64
- `pagination.key` string, byte
- `pagination.offset` string, uint64
- `pagination.limit` string, uint64
- `pagination.count_total` boolean
- `pagination.reverse` boolean

## Response `200`

A successful response.

- object: QueryValidatorSlashesResponse is the response type for the Query/ValidatorSlashes RPC method.
  - `slashes` object[]: slashes defines the slashes the validator received.
    - `validator_period` string, uint64
    - `fraction` string
  - `pagination` object: pagination defines the pagination in the response.
    - `next_key` string, byte: next_key is the key to be passed to PageRequest.key to query the next page most efficiently. It will be empty if there are no more results.
    - `total` string, uint64

## Other responses

- `default`: An unexpected error response.

---

[API](https://skmtc.dev/nymtech/apis/cosmos-sdk-grpc-gateway-docs.md) - [All operations](https://skmtc.dev/nymtech/apis/cosmos-sdk-grpc-gateway-docs/llms.txt) - [OpenAPI document](https://skmtc.dev/nymtech/apis/cosmos-sdk-grpc-gateway-docs/revisions/46fa771059b6?raw)
