Skip to main content

getconnectioncount RPC Method

Returns the connection count to other nodes.

Updated on
Feb 04, 2026

Parameters

This method does not accept any parameters

Returns

result
integer

The total number of connections to other nodes, both inbound and outbound

error
object | null

JSON-RPC error object when the request failed, or null on success

id
integer

The JSON-RPC request identifier

Request
Response
1
{
2
"result": 98,
3
"error": null,
4
"id": 1
5
}
1
{
2
"result": 98,
3
"error": null,
4
"id": 1
5
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free