Skip to main content

net_peerCount RPC Method

Returns number of peers currently connected to the client.

Updated on
Nov 02, 2023

Parameters

This method does not accept any parameters

Returns

result
string

The integer of the number of connected peers encoded as hexadecimal

Request
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free