net_peerCount
Returns the number of peers currently connected to the client.
Parameters
Returns
Request
{
"jsonrpc": "2.0",
"method": "net_peerCount",
"params": [],
"id": 1
}curl https://rpc.dysnomia.icu -H "Content-Type: application/json" --data ''Response
{
"jsonrpc": "2.0",
"id": 1,
"result": "0x2"
}Last updated