hmy_isBlockSigner returns true is validator signed a particular block or not
String
- block number in string 0x formatString
- validator one address ("one1...")
Bool
- true if validator signed block, false otherwise
curl -d '{
"jsonrpc": "2.0",
"method": "hmy_isBlockSigner",
"params": ["0x1", "one103q7qe5t2505lypvltkqtddaef5tzfxwsse4z7"],
"id": 1
}' -H "Content-Type: application/json" -X POST "https://api.s0.b.hmny.io"
Sample Curl Response
{
"jsonrpc": "2.0",
"id": 1,
"result": true
}
Number
- block numberString
- validator one address ("one1...")
Bool
- true if validator signed block, false otherwise
curl -d '{
"jsonrpc": "2.0",
"method": "hmyv2_isBlockSigner",
"params": [1, "one103q7qe5t2505lypvltkqtddaef5tzfxwsse4z7"],
"id": 1
}' -H "Content-Type: application/json" -X POST "https://api.s0.b.hmny.io"
Sample Curl Response
{
"jsonrpc": "2.0",
"id": 1,
"result": true
}