Terp Network Docs
APIsRpcInfo
GET
/net_info

Get network info.

Response Body

application/json

application/json

curl -X GET "https://rpc.terp.network/net_info"
{
  "id": 0,
  "jsonrpc": "2.0",
  "result": {
    "listening": true,
    "listeners": [
      "Listener(@)"
    ],
    "n_peers": "1",
    "peers": [
      {
        "node_id": "",
        "url": "<id>@95.179.155.35:2385>"
      }
    ]
  }
}
{
  "id": 0,
  "jsonrpc": "2.0",
  "error": "Description of failure"
}