hmy_getSignedBlocks

Description

hmy_getSigned blocks returns number of blocks out of last 1500 validator has signed

Parameters

  1. 1.
    String - validator one address ("one1...")

Returns

  • Number - total number of signed blocks out of last 1500 blocks

Sample Curl Request

1
curl -d '{
2
"jsonrpc": "2.0",
3
"method": "hmy_getSignedBlocks",
4
"params": ["one103q7qe5t2505lypvltkqtddaef5tzfxwsse4z7"],
5
"id": 1
6
}' -H "Content-Type: application/json" -X POST "http://localhost:9500"
Copied!

Sample Curl Response

1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": "0x12"
5
}
Copied!
Last modified 1yr ago