HyperPaxeer NetworkPaxeer Network
API Reference

Add Peers/Persistent Peers (unsafe)

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=["f9baeaa15fedf5e1ef7448dd60f46c01f1a9e9c4@1.2.3.4:26656","0491d373a8e0fcf1023aaf18c51d6a1d0d4f31bd@5.6.7.8: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://mainnet-beta.rpc.hyperpaxeer.com/dial_peers"
{
  "Log": "Dialing seeds in progress. See /net_info for details"
}
{
  "id": 0,
  "jsonrpc": "2.0",
  "error": "Description of failure"
}