getaddednodeinfo - Okcash RPC

getaddednodeinfo (dns true|false) [node]

Returns information about the given added node, or all added nodes
(note that onetry addnodes are not listed here)
If dns is false, only a list of added nodes will be provided,
otherwise connected information will also be available.

Result:
[
  {
    "addednode" : "192.168.0.201",   (string) The node IP address or name (as provided to addnode)
    "connected" : true|false,          (boolean) If connected
    "addresses" : [                    (list of objects) Only when connected = true
       {
         "address" : "192.168.0.201:51738", (string) The Okcash server IP and port we're connected to
         "connected" : "outbound"           (string) connection, inbound or outbound
       }
     ]
  }
  ,...
]

Examples:
> okcashd getaddednodeinfo true "192.168.0.201"


Okcash Core RPC documentation.

Okcash version: 5.0.0.3

OK RPC docs at:Github