Loading...
hmy_getLeader returns one address of current shard leader node
String - returns one address of current shard leader node
String
Sample Curl Request
Sample Curl Response
curl -d '{ "jsonrpc": "2.0", "method": "hmy_getLeader", "params": [], "id": 1 }' -H 'Content-Type:application/json' -X POST 'https://api.s0.b.hmny.io'
{ "jsonrpc": "2.0", "id": 1, "result": "one1pdv9lrdwl0rg5vglh4xtyrv3wjk3wsqket7zxy" }