hmy_getCurrentUtilityMetrics
hmy_getCurrentUtilityMetrics

Description

Works only for shard 0 (beacon chain).

Returns

  • AccumulatorSnapshot - Number - total staking
  • CurrentStakedPercentage - Float - total staking percentage from circulating supply now
  • Deviation - Float - deviation from average earned stake
  • Adjustment - Float - adjustment
Sample Curl Request
1
curl -d '{
2
"jsonrpc":"2.0",
3
"method":"hmy_getCurrentUtilityMetrics",
4
"params":[],
5
"id":1
6
}' -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
"AccumulatorSnapshot": 0,
6
"CurrentStakedPercentage": "0.000000000000000000",
7
"Deviation": "0.350000000000000000",
8
"Adjustment": "14000000000000000000.000000000000000000"
9
}
10
}
Copied!
Last modified 1yr ago
Export as PDF
Copy link