Skip to main content

net_peerCountByType RPC Method

Returns the number of connected nodes by type and the total number of connected nodes with key/value pairs.

Updated on
Aug 07, 2024

Parameters

This method does not accept any parameters

Returns

result
object

The result object with the following fields:

en
integer

The number of en peers

pn
integer

The number of pn peers

total
integer

The total number of peers connected to the network

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