/ DEVELOPERS / API / NET_PEERCOUNT

net_peerCount

Returns the number of currently connected peers as a hex uint.

net_peerCount

Returns the number of currently connected peers as a hex uint.

net_*category: metareturns: hex uint
Share link

Parameters

No parameters.

Response

Press Send Request to see a response.

Copy as

curl -X POST '/rpc' \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","method":"net_peerCount","params":[],"id":1}'