net_peerCount
Returns the number of peers currently connected to the client.
Parameters
Returns
Request
{
"jsonrpc": "2.0",
"method": "net_peerCount",
"params": [],
"id": 1
}
Response
{
"jsonrpc": "2.0",
"id": 1,
"result": "0x2"
}
Last updated