hmy_getValidatorMetrics
hmy_getValidatorMetrics

Parameters

  1. 1.
    String - validator bech32 address.

Returns

  • NumJailed - Number - big.Int number of times validator was banned due to downtime
  • TotalEffectiveStake - Float - total validator effective stake from delegations
  • VotingPowerPerShard - []VotePerShard:
    • shard-id - Number - shard id
    • voting-power - Float - valdator voting power for this shard
  • BLSKeyPerShard - []KeyPerShard:
    • shard-id - Number - shard id
    • keys - []String - validator bls keys for this shard
Sample Curl Request
1
curl -d '{
2
"jsonrpc":"2.0",
3
"method":"hmy_getValidatorMetrics",
4
"params":[
5
"one103q7qe5t2505lypvltkqtddaef5tzfxwsse4z7"
6
],
7
"id":1
8
}' -H 'Content-Type:application/json' -X POST 'http://api.s0.b.hmny.io'
Copied!
Sample Curl Response
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": []
5
}
Copied!
Export as PDF
Copy link