/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
1curl --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