Add p2p peers
POST/p2p/peers
Connect to the given peers
Request
- application/json
Body
array
required
Peers you want to connect to
Array [
]
string
Responses
- 200
The peers we connected to (we don't try connecting to already known peers)
- application/json
- Schema
- success
- error
Schema
any
Peers added
{
"success": true,
"peers": [
"tcp:localhost:8000",
"tcp:17.24.137.234:40403"
]
}
Invalid data
{
"success": false,
"message": "Invalid format for post data"
}
Loading...