/eth/v1/node/peer_count

Get peer count

Retrieves the number of known peers

Parameters

No Parameters

Result

Returns number of known peers.

Example

Request

curl <your-endpoint>/eth/v1/node/peer_count

Return

On success

{
    "data": {
        "disconnected": "1643",
        "connecting": "0",
        "connected": "50",
        "disconnecting": "0"
    }
}