Dev:API - System: Difference between revisions

From Nexus Wiki
Jump to navigation Jump to search
Created page with "The System API provides public access to information about this node. This includes data such as the version of software the node is running, ledger and mempool state, node IP address, and number of connected peers. == Direct Endpoints == The following commands are direct endpoints and thus do not support the above verb and noun structure available above: get/info get/metrics list/peers list/lisp-eids stop validate/address Direct endpoints support filters..."
 
m Nexus wiki moved page API - System to Dev:API - System without leaving a redirect
(No difference)

Revision as of 07:53, 4 October 2024

The System API provides public access to information about this node. This includes data such as the version of software the node is running, ledger and mempool state, node IP address, and number of connected peers.

Direct Endpoints

The following commands are direct endpoints and thus do not support the above verb and noun structure available above:

 get/info
 get/metrics
 list/peers
 list/lisp-eids
 stop
 validate/address

Direct endpoints support filters and operators.

get/info

Returns a summary of information about this node.

 system/get/info

Return JSON object:

 {
   "version": "5.1.0-rc2 Tritium++ CLI [LLD][x64]",
   "protocolversion": 3010000,
   "walletversion": 10001,
   "timestamp": 1658759654,
   "hostname": "localhost",
   "directory": "/home/nexus/.Nexus/",
   "address": "11.79.25.105",
   "private": false,
   "hybrid": false,
   "multiuser": false,
   "litemode": false,
   "blocks": 4553990,
   "synchronizing": false,
   "synccomplete": 100,
   "syncprogress": 100,
   "txtotal": 0,
   "connections": 41
 }
 [Completed in 0.070190 ms]