status

Finalized

Introduction

The status method is the primary diagnostic endpoint for querying the overall state and health of an Ixian DLT node. It provides a detailed snapshot of critical information, including software versions, network connectivity, blockchain synchronization status, and connection lists.

The endpoint supports an optional verbose mode, which includes additional, fine-grained metrics about internal message queues and the presence list, useful for in-depth debugging and performance monitoring.


Request

Requests can be made using either HTTP POST with a JSON body or HTTP GET with URL query parameters.

Parameters

NameTypeRequiredDescription
verbosebooleanNoIf present (e.g., "true"), the response will include additional diagnostic information. Defaults to false.

Example POST Request (Standard)

POST /status
Content-Type: application/json

{
  "jsonrpc": "2.0",
  "method": "status",
  "params": {},
  "id": 1
}

Example GET Request (Verbose)

GET /status?verbose=true

Response

The response result is a single JSON object containing a detailed status report. The fields included in the response depend on the verbose parameter.

Response Object: Standard Fields

These fields are always present in the response.

Section 1: Version & Configuration

FieldTypeDescription
Core VersionstringThe version of the underlying Ixian Core library.
Node VersionstringThe specific version of the DLT node software.
Network typestringThe network the node is connected to. See NetworkType enum below.
Node TypestringThe role of this node in the network. See NodeType enum below.

Section 2: Time & Connectivity

FieldTypeDescription
My timeintegerThe node's current Unix Epoch timestamp.
Network time differenceintegerThe calculated time difference (in seconds) between the node and the network.
Real network time differenceintegerAn alternative time difference calculation.
My External IPstringThe node's publicly detected IP address.
My Listening PortintegerThe port the node is listening on for inbound connections.
ConnectablebooleanIndicates if the node is reachable from the public internet.

Section 3: Blockchain Status

FieldTypeDescription
Core StatusintegerAn enum value representing the node's current operational state. See NodeStatus enum.
Block HeightintegerThe block number of the latest block the node has processed.
Block VersionintegerThe version of the latest block in the local chain.
Network Block HeightintegerThe highest block number known to the node from its peers.

Section 4: Connections

FieldTypeDescription
Network Clientsstring[]A list of inbound DLT connections (peers connected to this node).
Network Serversstring[]A list of outbound DLT connections (peers this node is connected to).
Stream Serversstring[]A list of outbound S2 stream connections.

Response Object: Verbose Fields

These fields are included in addition to the standard fields when verbose=true.

Section 5: Queue Depths

FieldTypeDescription
QueuesobjectA nested object containing the number of items in various processing queues.
Queues.RcvLowintegerNumber of messages in the low-priority receive queue.
Queues.RcvMediumintegerNumber of messages in the medium-priority receive queue.
Queues.RcvHighintegerNumber of messages in the high-priority receive queue.
Queues.SendClientsintegerNumber of queued messages to be sent to inbound clients.
Queues.SendServersintegerNumber of queued messages to be sent to outbound servers.
Queues.LoggingintegerNumber of pending log statements.
Queues.Pending TransactionsintegerNumber of transactions in the mempool.

Section 6: Presence List Metrics

FieldTypeDescription
PresencesintegerThe total number of presences (nodes of all types) known to this node.
MastersintegerThe count of known Master Node ('M') presences.
RelaysintegerThe count of known Relay Node ('R') presences.
ClientsintegerThe count of known Client ('C') presences.

Example Verbose Success Response

{
  "jsonrpc": "2.0",
  "result": {
    "Core Version": "xcore-0.9.7a",
    "Node Version": "xsbc-0.6.2-PR1",
    "Network type": "main",
    "My time": 1763043741,
    "Network time difference": 0,
    "Real network time difference": 0,
    "My External IP": "193.95.221.67",
    "My Listening Port": 15235,
    "Core Status": 1,
    "Block Height": 5487181,
    "Block Version": 13,
    "Network Block Height": 5487181,
    "Node Type": "C",
    "Connectable": true,
    "Queues": {
      "RcvLow": 0,
      "RcvMedium": 0,
      "RcvHigh": 0,
      "SendClients": 0,
      "SendServers": 0,
      "Logging": 0,
      "Pending Transactions": 0
    },
    "Presences": 12,
    "Masters": 0,
    "Relays": 10,
    "Clients": 2,
    "Network Clients": ["46.34.228.29:1872"],
    "Network Servers": ["179.61.232.164:10234", "167.235.2.158:10235"],
    "Stream Servers": []
  },
  "id": 1,
  "error": null
}

Enumerations

NodeStatus

The Core Status field returns an integer representing the node's state.

ValueNameDescription
0Warm UpThe node is synchronizing with the network.
1ReadyThe node is fully synchronized and operational.
2StalledThe node hasn't received a new block for a while.
3StoppingThe node is stopping.
4StoppedThe node is stopped.

NodeType

The Node Type field returns a single character representing the node's role.

ValueNameDescription
MMasterA DLT Master Node that participates in consensus.
HHistoryA full history DLT Master Node that participates in consensus.
RRelayAn S2 Relay Node that handles streaming and data relay.
CClientA client-type node, typically a light wallet or application backend.

NetworkType

The Node Type field returns a single character representing the node's role.

ValueNameDescription
mainMain NetworkMain Ixian Platform Network.
testTest NetworkPublic Test Network
regReg NetworkLocal/Test Network

Behavioral Notes

  • Sync Status: The primary indicator of whether a node is synchronized with the network is a comparison between Block Height and Network Block Height. If these values are equal (and greater than 0), the node is considered fully synced.
  • Health Checks: This endpoint is ideal for use in automated health checks and monitoring scripts. A Core Status of 1 and Connectable being true are good indicators of a healthy node.