API
API Reference (Cosmos)
Historical API
Validator
Validator State Events

Validator State Events

[GET] /v1/:network/validators/:operatorAddress/stateEvents

Get state and slashing events of validator

Request

Headers
Authorization: Bearer {access_token}
Parameters
# The name of network
# (string, required)
network: cosmos
# The address of validator
# (string, required)
operatorAddress: cosmosvaloper1d0aup392g3enru7eash83sedqclaxvp7fzh6gk
Queries
# The query parameters 'fromHeight' and 'toHeight' can be used together or separately.
 
# Filters events starting from this block height (inclusive).
# (string, optional)
fromHeight: 25655030
# Filters events up to and including this block height.
# (string, optional)
toHeight: 25732100
Response
# A combined array of validator state and slashing event objects (sorted by block height in descending order)
# The structure and available fields of each object vary based on the value of 'is_slash_data'.
 
# Normal Validator State Event (is_slash_data: false):
{
  chain: string,
  chain_id: string,
  height: number,
  timestamp: string,
  msg_type: string,
  is_slash_data: false,
  txhash: string,
  code: number,
  commission_rate: string | null
}
 
# Slash Event (is_slash_data: true):
{
  chain: string,
  chain_id: string,
  height: number,
  timestamp: string,
  msg_type: 'slash',
  is_slash_data: true,
  burned_coins: string | null,
  reason: string
}

Try API

Method : GET
URL
/v1/:network/validators/:operatorAddress/stateEvents
CallURL
https://apis.mintscan.io/v1/:network/validators/:operatorAddress/stateEvents
Header
Bear Token*
Parameters
network*
operatorAddress*
Queries
fromHeight
toHeight