net_peerCount
Network: Arc · Mainnet · Chain ID 5042 (0x13b2)
Data: full node. Old-block state is not available on Arc; query recent blocks.
Counts as 1 request. See Request Counting.
Description
Returns the number of peers currently connected to the client.
Parameters
None
Request
{
"jsonrpc": "2.0",
"method": "net_peerCount",
"params": [],
"id": 1
}Code Examples
curl -X POST https://arc-rpc.blockreq.com/v1/rpc/public \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"net_peerCount","params":[],"id":1}'