GetNodeInfo()

Summary

RouteTypeExample
/monitor/getnodeinfoPOSThttp://apinode.credits.com/api/Monitor/GetNodeInfo

Description

Get statistical information about the specified network node. Note that any node owner can block the node from providing this information upon request

Request

IP address and port of the node, information about which is requested

Request Structure

The following set of parameters is used for request:

JSON
Copy

Request Parameters

The pair networkIp and networkPort define the node, information about which is requested by the client. if networkAlias is set instead of these 2 parameters or simultaneously with them, networkAlias will be used, and the information will be received from the current default node in the network.

Response

JSON output depends on request type and its success.

If there’s an error accessing the node, request returns basic Result:

  • Success: False
  • Message:

If successful, requested information is returned

Response Structure

JSON
Copy

Example Code

C#
Python
C++
Copy
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard