Skip to main content

net_info REST API Endpoint

Retrieves network info.

Updated on
Apr 15, 2024

net_info REST API Endpoint

Parameters

This method does not accept any parameters

Returns

result
object
The result object which contains the following fields:
listening
It indicates whether the node is currently listening for connections
listeners
A list of listeners
n_peers
The number of peers connected to the node
peers
array
It contains information about each peer connected to the node
node_id
The unique identifier of the peer node
url
The connection URL for the peer node
peer_connections
array
It contains information about each connection to a peer node
node_id
The unique identifier of the peer node
state
The state of the connection, which can be a combination of 'ready' and 'connected'
score
The score associated with the connection, indicating its quality or reliability
Request
1
curl --location 'https://docs-demo.sei-pacific.quiknode.pro/net_info'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free