LTO Network
Search…
Latest version
Getting started
Tutorials
Buying and staking LTO
Mining
Anchoring
Live Contracts
Wallets
LTO wallet
Third-Party Wallets
ERC20 Token Swap
Running a node
Public node
Installation Guide
Cloud installation
REST API
Address
Wallet
Lease Transactions
Peers
Blocks
Utils
FAQ
Security Notes
FAQ
Exchange integration guide
Anchor node
Identity node
Workflow node
Libraries
JavaScript
Python
PHP
Java
Go
Protocol
Cryptography
Accounts
Identities
Public layer
Private layer
Powered By
GitBook
Peers
POST /peers/connect
master
Connect to peer.
Request:
{
"host"
:
"127.0.0.1"
,
"port"
:
"9084"
}
GET /peers/connected
master
Returns list of all currently connected peers to the node.
Response JSON example:
{
"peers"
:
[
{
"address"
:
"52.51.92.182/52.51.92.182:6863"
,
"declaredAddress"
:
"N/A"
,
"peerName"
:
"zx 182"
,
"peerNonce"
:
183759
},
{
"address"
:
"ec2-52-28-66-217.eu-central-1.compute.amazonaws.com/52.28.66.217:6863"
,
"declaredAddress"
:
"N/A"
,
"peerName"
:
"zx 217"
,
"peerNonce"
:
1021800
}
]
}
GET /peers/blacklisted
master
Returns list of all currently blacklisted peers to the node.
GET /peers/all
master
Returns list of all ever known not blacklisted peers with publicly available declared address.
Previous
Lease Transactions
Next
Blocks
Last modified
2yr ago
Copy link
Outline
POST /peers/connect
GET /peers/connected
GET /peers/blacklisted
GET /peers/all