getconnectioncount Method

Gets the current number of connections for the node.

Example

Request body:

{
   "jsonrpc": "2.0",
   "method": "getconnectioncount",
   "params":[],
   "id": 1
}

Response body:

{
   "jsonrpc": "2.0",
   "id": 1,
   "result": 10
}