getaddednodeinfo
Argument #1-node
Type: string, Optional
Default=all nodes
Description: If provided, return information about this specific node, otherwise all nodes are returned.
Result
[ (json array)
{ (json object)
"addednode" : "str", (string) The node IP address or name (as provided to addnode)
"connected" : true|false, (boolean) If connected
"addresses" : [ (json array) Only when connected = true
{ (json object)
"address" : "str", (string) The bitcoin server IP and port we're connected to
"connected" : "str" (string) connection, inbound or outbound
},
...
]
},
...
]