Skip to main content

getnetworkinfo RPC Method

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

Updated on
Feb 04, 2026

Parameters

This method does not accept any parameters

Returns

result
object

The network information object

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

localrelay
boolean

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

name
string

The network name

limited
boolean

Whether the network is limited

reachable
boolean

Whether the network is reachable

proxy
string

The proxy used for this network

proxy_randomize_credentials
boolean

Whether credentials are randomized for the proxy

relayfee
number

Minimum fee rate for transactions to be relayed

excessutxocharge
number

The excess UTXO charge

localaddresses
array

List of local addresses

warnings
string

Network or blockchain warnings

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": {
3
"version": 28000100,
4
"subversion": "/Bitcoin Cash Node:28.0.1(EB32.0)/",
5
"protocolversion": 70016,
6
"localservices": "0000000000000425",
7
"localrelay": true,
8
"timeoffset": 0,
9
"networkactive": true,
10
"connections": 97,
11
"connections_in": 89,
12
"connections_out": 8,
13
"networks": [
14
{
15
"name": "ipv4",
16
"limited": false,
17
"reachable": true,
18
"proxy": "",
19
"proxy_randomize_credentials": false
20
},
21
{
22
"name": "ipv6",
23
"limited": false,
24
"reachable": true,
25
"proxy": "",
26
"proxy_randomize_credentials": false
27
},
28
{
29
"name": "onion",
30
"limited": true,
31
"reachable": false,
32
"proxy": "",
33
"proxy_randomize_credentials": false
34
},
35
{
36
"name": "",
37
"limited": false,
38
"reachable": true,
39
"proxy": "",
40
"proxy_randomize_credentials": false
41
},
42
{
43
"name": "",
44
"limited": false,
45
"reachable": true,
46
"proxy": "",
47
"proxy_randomize_credentials": false
48
}
49
],
50
"relayfee": 0.00001,
51
"excessutxocharge": 0,
52
"localaddresses": [
53
{
54
"address": "198.13.136.26",
55
"port": 8333,
56
"score": 190321
57
}
58
],
59
"warnings": ""
60
},
61
"error": null,
62
"id": 1
63
}
1
{
2
"result": {
3
"version": 28000100,
4
"subversion": "/Bitcoin Cash Node:28.0.1(EB32.0)/",
5
"protocolversion": 70016,
6
"localservices": "0000000000000425",
7
"localrelay": true,
8
"timeoffset": 0,
9
"networkactive": true,
10
"connections": 97,
11
"connections_in": 89,
12
"connections_out": 8,
13
"networks": [
14
{
15
"name": "ipv4",
16
"limited": false,
17
"reachable": true,
18
"proxy": "",
19
"proxy_randomize_credentials": false
20
},
21
{
22
"name": "ipv6",
23
"limited": false,
24
"reachable": true,
25
"proxy": "",
26
"proxy_randomize_credentials": false
27
},
28
{
29
"name": "onion",
30
"limited": true,
31
"reachable": false,
32
"proxy": "",
33
"proxy_randomize_credentials": false
34
},
35
{
36
"name": "",
37
"limited": false,
38
"reachable": true,
39
"proxy": "",
40
"proxy_randomize_credentials": false
41
},
42
{
43
"name": "",
44
"limited": false,
45
"reachable": true,
46
"proxy": "",
47
"proxy_randomize_credentials": false
48
}
49
],
50
"relayfee": 0.00001,
51
"excessutxocharge": 0,
52
"localaddresses": [
53
{
54
"address": "198.13.136.26",
55
"port": 8333,
56
"score": 190321
57
}
58
],
59
"warnings": ""
60
},
61
"error": null,
62
"id": 1
63
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free