最終更新:
編集

version

[Source]

The version command retrieves the API version information for the rippled server. For Clio servers, see version (clio) instead.

Request Format

An example of the request format:

{
  "command": "version"
}

Try it! >

The request does not takes any parameters.

Response Format

An example of a successful response:

{
  "result": {
    "version": {
      "first": "1.0.0",
      "good": "1.0.0",
      "last": "1.0.0"
    }
  },
  "status": "success",
  "type": "response"
}

The response follows the standard format, with a successful result containing a version object as its only field.

The version object returns some arrangement of the following fields:

FieldTypeDescription
firstStringLowest supported API release
lastStringHighest supported API release
goodStringDefault API if none specified

Possible Errors