Count Node Versions

Status

Returns the Ixian software versions in use on the network.

Method: countnodeversions

Input parameters:

None

Errors:

ErrorDescription
RPC_INTERNAL_ERRORAn unknown error occurred in the node. Please check the node log for details.

Output:

  • node versions are returned as a JSON object and the error field is set to null:

Example:

GET http://localhost:8081/countnodeversions

{
  "result": {
    "xdc-0.9.2a": 35,
    "xdc-0.9.2": 21,
    "xdc-0.9.2b": 5
  },
  "error": null,
  "id": null
}