Skip to content

Latest commit

 

History

History
33 lines (25 loc) · 538 Bytes

hmy_getallvalidatorsaddresses.md

File metadata and controls

33 lines (25 loc) · 538 Bytes
description
hmy_getAllValidatorAddresses

hmy_getAllValidatorAddresses

Returns complete validators addresses list

Returns

  • Array
    • String - validator address

Sample Curl Request

curl -d '{
    "jsonrpc":"2.0",
    "method":"hmy_getAllValidatorAddresses",
    "params":[],
    "id":1
}' -H 'Content-Type:application/json' -X POST 'https://api.s0.b.hmny.io'

Sample Curl Response

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