Net
peerCount
Returns the number of peers currently connected to the client.
POST
/
Body
application/json
jsonrpc
enum<string>
requiredAvailable options:
2.0
method
enum<string>
requiredThe name of the method to be invoked.
Available options:
net_peerCount
params
any[]
requirednet_peerCount
does not require any params.
id
integer
requiredA unique identifier for the request.
Response
200 - application/json
jsonrpc
string
result
string
The number of connected peers.
id
integer