Skip to main content

getnetworkinfo RPC Method

Returns information about the node's connection to the network.

Updated on
Feb 03, 2026

Parameters

This method does not accept any parameters

Returns

result
object

Network and connection information for this node

version
integer

The server version

subversion
string

The server subversion string

protocolversion
integer

The protocol version

localservices
string

The hex string of services offered by the node

localservicesnames
array

A list of service names offered by the node

localrelay
boolean

Indicates whether transaction relay is enabled

timeoffset
integer

The time offset in seconds

networkactive
boolean

Whether p2p networking is enabled

connections
integer

The total number of connections

connections_in
integer

The number of inbound connections

connections_out
integer

The number of outbound connections

networks
array

Information per network

relayfee
number

Minimum fee rate in BTC/KB for transactions to be relayed

incrementalfee
number

Minimum fee increment for mempool limiting or replacement

localaddresses
array

List of local addresses

warnings
string

An array of strings of network or blockchain warnings

error
object | null

(Optional) JSON-RPC error when the request failed; omitted or null on success

code
integer

Error code

message
string

Error message

Request
Response
1
{
2
"jsonrpc": "2.0",
3
"result": {
4
"version": 290000,
5
"subversion": "/Satoshi:29.0.0/",
6
"protocolversion": 70016,
7
"localservices": "0000000000000c09",
8
"localservicesnames": [
9
"NETWORK",
10
"WITNESS",
11
"NETWORK_LIMITED",
12
"P2P_V2"
13
],
14
"localrelay": true,
15
"timeoffset": 0,
16
"networkactive": true,
17
"connections": 99,
18
"connections_in": 89,
19
"connections_out": 10,
20
"networks": [
21
{
22
"name": "ipv4",
23
"limited": false,
24
"reachable": true,
25
"proxy": "",
26
"proxy_randomize_credentials": false
27
},
28
{
29
"name": "ipv6",
30
"limited": false,
31
"reachable": true,
32
"proxy": "",
33
"proxy_randomize_credentials": false
34
},
35
{
36
"name": "onion",
37
"limited": true,
38
"reachable": false,
39
"proxy": "",
40
"proxy_randomize_credentials": false
41
},
42
{
43
"name": "i2p",
44
"limited": true,
45
"reachable": false,
46
"proxy": "",
47
"proxy_randomize_credentials": false
48
},
49
{
50
"name": "cjdns",
51
"limited": true,
52
"reachable": false,
53
"proxy": "",
54
"proxy_randomize_credentials": false
55
}
56
],
57
"relayfee": 0.00001,
58
"incrementalfee": 0.00001,
59
"localaddresses": [],
60
"warnings": ""
61
},
62
"id": 1
63
}
1
{
2
"jsonrpc": "2.0",
3
"result": {
4
"version": 290000,
5
"subversion": "/Satoshi:29.0.0/",
6
"protocolversion": 70016,
7
"localservices": "0000000000000c09",
8
"localservicesnames": [
9
"NETWORK",
10
"WITNESS",
11
"NETWORK_LIMITED",
12
"P2P_V2"
13
],
14
"localrelay": true,
15
"timeoffset": 0,
16
"networkactive": true,
17
"connections": 99,
18
"connections_in": 89,
19
"connections_out": 10,
20
"networks": [
21
{
22
"name": "ipv4",
23
"limited": false,
24
"reachable": true,
25
"proxy": "",
26
"proxy_randomize_credentials": false
27
},
28
{
29
"name": "ipv6",
30
"limited": false,
31
"reachable": true,
32
"proxy": "",
33
"proxy_randomize_credentials": false
34
},
35
{
36
"name": "onion",
37
"limited": true,
38
"reachable": false,
39
"proxy": "",
40
"proxy_randomize_credentials": false
41
},
42
{
43
"name": "i2p",
44
"limited": true,
45
"reachable": false,
46
"proxy": "",
47
"proxy_randomize_credentials": false
48
},
49
{
50
"name": "cjdns",
51
"limited": true,
52
"reachable": false,
53
"proxy": "",
54
"proxy_randomize_credentials": false
55
}
56
],
57
"relayfee": 0.00001,
58
"incrementalfee": 0.00001,
59
"localaddresses": [],
60
"warnings": ""
61
},
62
"id": 1
63
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free