Skip to main content
POST
net_peerCount
Plasma API method that returns the number of peers currently connected to the client.

Parameters

None

Response

  • quantity — the number of connected peers

net_peerCount code examples

Body

application/json
id
integer
default:1
jsonrpc
string
default:2.0
method
string
default:net_peerCount
params
any[]

Response

200 - application/json

Returns the number of peers currently connected to the client.

jsonrpc
string
id
integer
result
object | null
Last modified on May 18, 2026