GetNodeInfo()
Summary
/monitor/getnodeinfo
POST
http://176.113.80.7:62000/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:
{
// Parameters common for all requests
// IP address of the node
"networkIp": "ip v4 address",
// Port on a remote node, if it differs from the default value
"networkPort": "u16_value"
}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
Example Code
Python
C++
C#
Last updated