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

net_peerCountByType RPC Method

Parameters

This method does not accept any parameters

Returns

result
object
The result object with the following fields:
en
string
The number of en peers
pn
string
The number of pn peers
total
string
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