slashes

GET

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

ValidatorSlashes queries slash events of a validator.

Parameters

validator_address*stringpath

validator_address defines the validator address to query for.

Responses

Example Usage

import { getQueryClient } from '@sei-js/cosmjs';

const queryClient = await getQueryClient("YOUR_RPC_URL");
const { lashes } = queryClient.cosmos.distribution.v1beta1;

const params: QuerylashesRequest = { 
	validator_address: ""
 };
const response: QuerylashesResponseSDKType = await lashes(params);