You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

get-server-info.json 5.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. {
  2. "$schema": "http://json-schema.org/draft-04/schema#",
  3. "title": "getServerInfo",
  4. "type": "object",
  5. "properties": {
  6. "buildVersion": {
  7. "type": "string",
  8. "description": "The version number of the running rippled version."
  9. },
  10. "completeLedgers": {
  11. "type": "string",
  12. "pattern": "[0-9,-]+",
  13. "description": "Range expression indicating the sequence numbers of the ledger versions the local rippled has in its database. It is possible to be a disjoint sequence, e.g. “2500-5000,32570-7695432”."
  14. },
  15. "hostID": {
  16. "type": "string",
  17. "description": "On an admin request, returns the hostname of the server running the rippled instance; otherwise, returns a unique four letter word."
  18. },
  19. "ioLatencyMs": {
  20. "type": "number",
  21. "description": "Amount of time spent waiting for I/O operations, in milliseconds. If this number is not very, very low, then the rippled server is probably having serious load issues."
  22. },
  23. "load": {
  24. "type": "object",
  25. "description": "*(Admin only)* Detailed information about the current load state of the server.",
  26. "properties": {
  27. "jobTypes": {
  28. "type": "array",
  29. "description": "*(Admin only)* Information about the rate of different types of jobs the server is doing and how much time it spends on each.",
  30. "items": {"type": "object"}
  31. },
  32. "threads": {
  33. "type": "number",
  34. "description": "*(Admin only)* The number of threads in the server’s main job pool, performing various operations."
  35. }
  36. },
  37. "required": ["jobTypes", "threads"]
  38. },
  39. "lastClose": {
  40. "type": "object",
  41. "description": "Information about the last time the server closed a ledger.",
  42. "properties": {
  43. "convergeTimeS": {
  44. "type": "number",
  45. "description": "The time it took to reach a consensus for the last ledger closing, in seconds."
  46. },
  47. "proposers": {
  48. "type": "integer",
  49. "minimum": 0,
  50. "description": "Number of trusted validators participating in the ledger closing."}
  51. },
  52. "required": ["convergeTimeS", "proposers"]
  53. },
  54. "loadFactor": {
  55. "type": "number",
  56. "description": "The load factor the server is currently enforcing, as a multiplier on the base transaction fee. The load factor is determined by the highest of the individual server’s load factor, cluster’s load factor, and the overall network’s load factor."
  57. },
  58. "peers": {
  59. "type": "integer",
  60. "minimum": 0,
  61. "description": "How many other rippled servers the node is currently connected to."
  62. },
  63. "pubkeyNode": {
  64. "type": "string",
  65. "description": "Public key used to verify this node for internal communications; this key is automatically generated by the server the first time it starts up."
  66. },
  67. "pubkeyValidator": {
  68. "type": "string",
  69. "description": "*(Admin only)* Public key used by this node to sign ledger validations."
  70. },
  71. "serverState": {
  72. "type": "string",
  73. "description": "A string indicating to what extent the server is participating in the network. See [Possible Server States](https://xrpl.org/rippled-server-states.html) for more details.",
  74. "enum": ["disconnected", "connected", "syncing", "tracking", "full", "validating", "proposing"]
  75. },
  76. "validatedLedger": {
  77. "type": "object",
  78. "description": "Information about the fully-validated ledger with the highest sequence number (the most recent).",
  79. "properties": {
  80. "age": {
  81. "type": "integer",
  82. "minimum": 0,
  83. "description": "The time since the ledger was closed, in seconds."
  84. },
  85. "baseFeeXRP": {
  86. "$ref": "value",
  87. "description": "Base fee, in XRP. This may be represented in scientific notation such as 1e-05 for 0.00005."
  88. },
  89. "hash": {
  90. "$ref": "hash256",
  91. "description": "Unique hash for the ledger, as an uppercase hexadecimal string."
  92. },
  93. "reserveBaseXRP": {
  94. "$ref": "value",
  95. "description": "Minimum amount of XRP necessary for every account to keep in reserve."
  96. },
  97. "reserveIncrementXRP": {
  98. "$ref": "value",
  99. "description": "Amount of XRP added to the account reserve for each object an account owns in the ledger."
  100. },
  101. "ledgerVersion": {
  102. "type": "integer",
  103. "minimum": 0,
  104. "description": "Identifying ledger index of this ledger version."
  105. }
  106. },
  107. "additionalProperties": false,
  108. "required": ["age", "baseFeeXRP", "hash", "reserveBaseXRP", "reserveIncrementXRP", "ledgerVersion"]
  109. },
  110. "validationQuorum": {
  111. "type": "number",
  112. "description": "Minimum number of trusted validations required to validate a ledger version. Some circumstances may cause the server to require more validations."
  113. }
  114. },
  115. "required": ["buildVersion", "completeLedgers", "hostID", "ioLatencyMs", "lastClose", "loadFactor", "peers", "pubkeyNode", "serverState", "validatedLedger", "validationQuorum"],
  116. "additionalProperties": false
  117. }