Networking
Add Peer
Add a peer to the list of known peers and attempt to connect to it.
Method: POST
https://ardr.nownodes.io/nxt?requestType=addPeer&peer=ardorrules.webice.ru
Example body (x-www-form-urlencoded)
requestType = addPeer
secretPhrase = IWontTellYou
chain = 2
currency = 6520756875632314476
recipient = ARDOR-GHKP-XWB5-XMZB-CTUE3
adminPassword = xxx
Example response: 200
{
"errorDescription": "Incorrect \"adminPassword\" (the specified password does not match nxt.adminPassword)",
"errorCode": 4
}
Blacklist API Proxy Peer
Blacklist a remote node from the UI, so it won't be used when in roaming and light client modes.
Method: POST
https://ardr.nownodes.io/nxt?requestType=blacklistAPIProxyPeer&peer=52.0.72.67
Example body (x-www-form-urlencoded)
requestType = blacklistAPIProxyPeer
secretPhrase = IWontTellYou
chain = 2
currency = 6520756875632314476
recipient = ARDOR-GHKP-XWB5-XMZB-CTUE3
adminPassword = xxx
Example response: 200
{
"errorDescription": "Incorrect \"adminPassword\" (the specified password does not match nxt.adminPassword)",
"errorCode": 4
}
Bootstrap API Proxy
It performs a proxy bootstrap, checking known peer connected. Password protected when not connected to a local node.
Method: POST
https://ardr.nownodes.io/nxt?requestType=bootstrapAPIProxy&chain=2password=IWontTellYou
Example body (x-www-form-urlencoded)
requestType = bootstrapAPIProxy
secretPhrase = IWontTellYou
chain = 2
currency = 6520756875632314476
recipient = ARDOR-GHKP-XWB5-XMZB-CTUE3
adminPassword = xxx
Example response: 200
{
"errorDescription": "Incorrect \"adminPassword\" (the specified password does not match nxt.adminPassword)",
"errorCode": 4
}
Get API Proxy Reports
It provides information about the light client remote API calls and their confirmations.
Method: GET
https://ardr.nownodes.io/nxt?requestType=getAPIProxyReports
Example response: 200
{
"errorDescription": "\"adminPassword\" not specified",
"errorCode": 3
}
Blacklist Peer
Blacklist a peer for the default blacklisting period.
Method: POST
https://ardr.nownodes.io/nxt?requestType=blacklistPeer&peer=ardorrules.webice.ru
Example body (x-www-form-urlencoded)
empty
Example response: 200
{
"errorDescription": "\"adminPassword\" not specified",
"errorCode": 3
}
Get Peer
Get information about a given peer.
Method: GET
https://ardr.nownodes.io/nxt?requestType=getPeer&peer=ardorrules.ru
Example response: 200
{
"errorDescription": "Unknown peer",
"errorCode": 5
}
Manage Peers Networking
It enables, disables or queries the peers networking
Method: POST
https://ardr.nownodes.io/nxt?requestType=managePeersNetworking&operation=query
Example body (x-www-form-urlencoded)
requestType = setAPIProxyPeer
secretPhrase = IWontTellYou
chain = 2
currency = 6520756875632314476
recipient = ARDOR-GHKP-XWB5-XMZB-CTUE3
adminPassword = xxx
Example response: 200
{
"errorDescription": "\"adminPassword\" not specified",
"errorCode": 3
}
Set API Proxy Peer
Set the remote node to use when in roaming and light client modes.
Method: POST
https://ardr.nownodes.io/nxt?requestType=setAPIProxyPeer&peer=163.172.154.74
Example body (x-www-form-urlencoded)
requestType = setAPIProxyPeer
secretPhrase = IWontTellYou
chain = 2
currency = 6520756875632314476
recipient = ARDOR-GHKP-XWB5-XMZB-CTUE3
adminPassword = xxx
Example response: 200
{
"errorDescription": "\"adminPassword\" not specified",
"errorCode": 3
}
Last updated