Terp Network Docs
APIsRpcUnsafe
GET
/dial_peers

Set a persistent peer, this route in under unsafe, and has to manually enabled to use.

Example: curl 'localhost:26657/dial_peers?peers=["[email protected]:26656","[email protected]:26656"]&persistent=false'

Query Parameters

persistent?boolean

Have the peers you are dialing be persistent

unconditional?boolean

Have the peers you are dialing be unconditional

private?boolean

Have the peers you are dialing be private

peers?array<>

array of peers to dial

Response Body

application/json

application/json

curl -X GET "https://rpc.terp.network/dial_peers"
{
  "Log": "Dialing seeds in progress. See /net_info for details"
}
{
  "id": 0,
  "jsonrpc": "2.0",
  "error": "Description of failure"
}