A web based interface to the Bitcoin API JSON-RPC

Command: getaddednodeinfo

The getaddednodeinfo RPC returns information about the given added node, or all added nodes (except onetry nodes). Only nodes which have been manually added using the addnode RPC will have their information displayed.

Parameter #1—whether to display connection information
Parameter #2—what node to display information about
Result—a list of added nodes

Set to true to display detailed information about the added node.
The node to get information about in the same <IP address>:<port> format as the addnode RPC. If this parameter is not provided, information about all added nodes will be returned.
Only nodes added with the addnode command will be returned, you can add a node that is already connected to return it's info. To see a list of connected nodes visit: getpeerinfo.
	"result": null,
	"error": {
		"code": -1,
		"message": "JSON value is not a string as expected"
	"id": null
getaddednodeinfo ( "node" )

Returns information about the given added node, or all added nodes
(note that onetry addnodes are not listed here)

1. "node"   (string, optional) If provided, return information about this specific node, otherwise all nodes are returned.

    "addednode" : "",   (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" : "",  (string) The bitcoin server IP and port we're connected to
         "connected" : "outbound"           (string) connection, inbound or outbound

> bitcoin-cli getaddednodeinfo ""
> curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getaddednodeinfo", "params": [""] }' -H 'content-type: text/plain;'