Skip to main content

/cosmos/distribution/v1beta1/validators/{validator_address}/slashes REST API Endpoint

Queries slash events of a validator.

Updated on
May 09, 2024

Path Parameters

validator_address
string
REQUIRED

Defines the validator address to query for

Query Parameters

starting_height
string <uint64>

Defines the optional starting height to query the slashes

ending_height
string <uint64>

Defines the optional ending height to query the slashes

pagination.key
string <byte>

Key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set

pagination.offset
string <uint64>

Offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set

pagination.limit
string <uint64>

The total number of results to be returned in the result page. If left empty it will default to a value to be set by each app

pagination.count_total
boolean

Set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set

pagination.reverse
boolean

Reverse is set to true if results are to be returned in the descending order. Since: cosmos-sdk 0.43

Returns

slashes
array

Defines the slashes the validator received

validator_period
string

The validator period

fraction
string

The fraction

pagination
object

Defines the pagination in the response

next_key
string | null

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

string <uint64> (total is total number of results available if PageRequest.count_total was set, its value is undefined otherwise)

Request
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free