Network Nodes API
The network node API is available from the full node via web-sockets.
Obtain Network Information
get_info
Return general network information, such as p2p port.
get_connected_peers
Get status of all current connections to peers.
get_potential_peers
Return list of potential peers.
get_advanced_node_parameters
Get advanced node parameters, such as desired and max number of connections.
Change Network Settings
add_node
Connect to a new peer
ep
: The IP/Port of the peer to connect to
set_advanced_node_parameters
Set advanced node parameters, such as desired and max number of connections.
params
: a JSON object containing the name/value pairs for the parameters to set
Last updated