/net_info

Get network info.

Parameters:

None

Example:

// Request
curl -X GET -H 'Content-Type: application/json'  https://froopyland.blockpi.network/rpc/v1/<your-api-key>/net_info

// Result
{
    "jsonrpc": "2.0",
    "result": {
        "listeners": [
            "Listener(@)"
        ],
        "listening": true,
        "n_peers": "5",
        "peers": [
            {
                "connection_status": {
                    "Channels": [
                        {
                            "ID": 48,
                            "Priority": "5",
                            "RecentlySent": "0",
                            "SendQueueCapacity": "1",
                            "SendQueueSize": "0"
                        },
            ......
        ]
    }
}

Last updated