getValidatorsStakeByBlockNumber
POST
itc_getValidatorsStakeByBlockNumber
The itc_getValidatorsStakeByBlockNumber
method retrieves the total stake of validators at a specific block number in the blockchain network. This API call provides the stake amount held by each validator at that historical block, helping to analyze validator performance, delegation patterns, and stake distribution at any given point in the network's history.
URL
https://testnet.intelchain.network/
Parameters
Number
: Block number.
Result
Array
of Object
Validator_address
-String
: total validator stake at the given block in wei.
HEADERS
Content Type : application/json
Body
{
"jsonrpc": "2.0",
"id": 1,
"method": "itc_getValidatorsStakeByBlockNumber",
"params": [
"30000000"
]
}z
Example Request
curl --location --request GET 'https://testnet.intelchain.network' \
--data '{
"jsonrpc": "2.0",
"id": 1,
"method": "itc_getValidatorsStakeByBlockNumber",
"params": [
"30000000"
]
}'
Example Response
{
"jsonrpc": "2.0",
"id": 1,
"error": {
"code": -32000,
"message": "requested block number greater than current block number"
}
}