Skip to main content

/eth/v1/node/peer_count RPC Method

Get node network peers.

Updated on
Dec 17, 2024

/eth/v1/node/peer_count RPC Method

Parameters

This method does not accept any parameters

Returns

data
array
An array of data which contains the following fields:
disconnected
string
Indicates the number of peers that are currently disconnected from the network
connecting
string
Indicates the number of peers that are currently attempting to connect to the network
connected
string
Indicates the number of peers that are currently connected to the network
disconnecting
string
Indicates the number of peers that are currently in the process of disconnecting from the network
Request
1
curl --location 'https://docs-demo.vana-mainnet.quiknode.pro/eth/v1/node/peer_count' \
2
--header 'Content-Type: application/json'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free