hmy_getElectedValidatorAddresses

hmy_getActiveValidatorsAddresses

Returns elected validators addresses list

Returns

  • Array

    • String - validator address

Sample Curl Request

curl -d '{
    "jsonrpc":"2.0",
    "method":"hmy_getElectedValidatorAddresses",
    "params":[],
    "id":1
}' -H 'Content-Type:application/json' -X POST 'https://api.harmony.one'

Sample Curl Response

{
    "jsonrpc": "2.0",
    "id": 1,
    "result": ["one103q7qe5t2505lypvltkqtddaef5tzfxwsse4z7"]
}

Last updated