Skip to content

Get network information

POST
/rollkit.v1.P2PService/GetNetInfo

Retrieve network information and statistics.

Request Body

application/json
JSON
{
}

Responses

Network information retrieved successfully

application/json
JSON
{
"net_info": {
"id": "string",
"listen_addresses": [
"string"
],
"connected_peers": [
"string"
]
}
}

Playground

Body

Samples

cURL
JavaScript
PHP
Python
Powered by VitePress OpenAPI

Released under the APACHE-2.0 License