hmy_getShardingStructure
GetShardingStructure
Returns
Sample Curl Request
curl -d '{
"jsonrpc": "2.0",
"method": "hmy_getShardingStructure",
"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": [
{
"current": true,
"http": "https://api.s0.b.hmny.io",
"shardID": 0,
"ws": "wss://ws.s0.b.hmny.io"
},
{
"current": false,
"http": "https://api.s1.b.hmny.io",
"shardID": 1,
"ws": "wss://ws.s1.b.hmny.io"
}
]
}Last updated
Was this helpful?