Skip to main content

validatorInforByBlockNum

POST itc_getAllValidatorInformationByBlockNumber

The itc_getAllValidatorInformationByBlockNumber method retrieves information about all validators in the blockchain at a specific block number. It provides details like delegation data, performance metrics, and configuration settings at that particular block state.

URL

https://testnet.intelchain.network/

Parameters

  • Page_Number : To retrieve all validator data, multiple calls with different page numbers may be required.
  • Block_Number : This parameter defines the block number at which the validator information is requested.

Result

Array of String : Each string represents the wallet address of an elected validator.

Note

metrics field is overwritten & will always display current epoch data.

HEADERS

Content Type : application/json

Body

{
"jsonrpc": "2.0",
"id": 1,
"method": "itc_getAllValidatorInformationByBlockNumber",
"params": [
-1,
3700000
]
}

Example Request

curl --location 'https://testnet.intelchain.network' \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc": "2.0",
"id": 1,
"method": "itc_getAllValidatorInformationByBlockNumber",
"params": [
-1,
3700000
]
}'

Example Response

{
"jsonrpc": "2.0",
"id": 1,
"error": {
"code": -32000,
"message": "requested block number greater than current block number"
}
}