Skip to main content
POST
net_peerCount
Arc API method that returns the number of peers currently connected to the client.
Get your own node endpoint todayStart for free and get your app to production levels immediately. No credit card required.You can sign up with your GitHub, X, Google, or Microsoft account.

Parameters

None.

Response

  • result — the number of connected peers encoded as hexadecimal

net_peerCount code examples

Body

application/json
id
integer
default:1
jsonrpc
string
default:2.0
method
string
default:net_peerCount
params
array

Response

200 - application/json

Returns the result of net_peerCount.

jsonrpc
string
id
integer
result
string
Last modified on August 3, 2026