chains
Get information about the deployed committee
get/v1/chains/{chainID}/committee
Path parameters
chainIDstring string required
ChainID (Bech32)
Query parameters
blockstring string
Block index or trie root
Response
A list of all nodes tied to the chain
Example response
{
"candidateNodes": [
{
"node": {
"isAlive": true,
"peeringURL": "peeringURL",
"name": "name",
"publicKey": "publicKey",
"numUsers": 0,
"isTrusted": true
},
"accessAPI": "accessAPI"
},
{
"node": {
"isAlive": true,
"peeringURL": "peeringURL",
"name": "name",
"publicKey": "publicKey",
"numUsers": 0,
"isTrusted": true
},
"accessAPI": "accessAPI"
}
],
"committeeNodes": [
{
"node": {
"isAlive": true,
"peeringURL": "localhost:4000",
"name": "name",
"publicKey": 0,
"numUsers": 1,
"isTrusted": true
},
"accessAPI": "accessAPI"
},
{
"node": {
"isAlive": true,
"peeringURL": "localhost:4000",
"name": "name",
"publicKey": 0,
"numUsers": 1,
"isTrusted": true
},
"accessAPI": "accessAPI"
}
],
"chainId": "tst1pqm5ckama06xhkl080mmvz6l3xy8c8lulrwy7mx4ll0fc69krxfgka70j0e",
"accessNodes": [
{
"node": {
"isAlive": true,
"peeringURL": "peeringURL",
"name": "name",
"publicKey": "publicKey",
"numUsers": 0,
"isTrusted": true
},
"accessAPI": "accessAPI"
},
{
"node": {
"isAlive": true,
"peeringURL": "peeringURL",
"name": "name",
"publicKey": "publicKey",
"numUsers": 0,
"isTrusted": true
},
"accessAPI": "accessAPI"
}
],
"stateAddress": 1.1560770162548097e+77,
"active": true
}Changes
Changed in 3 of the 50 revisions of this API.12
- ○
added the new optional
queryrequest parameterblocknew-optional-request-parameter
- ○
- ○
endpoint added
endpoint-added
- ○
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
This revision also has 20 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲