Skip to main content

getnodeaddresses RPC Method

Returns addresses of Bitcoin Cash nodes known to this node.

Updated on
Nov 26, 2026

The sample response shows one address. Use count to request more addresses.

Parameters

count
integer

Maximum number of addresses to return. Use 0 for all known addresses.

Returns

result
array

One entry per known node address.

time
integer

Unix timestamp when this address was last seen.

services
integer

Service flags advertised by the node.

servicesnames
array

Human-readable names of the advertised service flags.

address
string

Node IP address or onion address.

port
integer

Node network port.

network
string

Address network: ipv4, ipv6, or onion.

error
object | null

JSON-RPC error, or null on success.

id
integer

JSON-RPC request identifier.

Request
Response
1
{
2
"result": [
3
{
4
"time": 1793903325,
5
"services": 1061,
6
"servicesnames": [
7
"NETWORK",
8
"BLOOM",
9
"BITCOIN_CASH",
10
"NETWORK_LIMITED"
11
],
12
"address": "192.0.2.1",
13
"port": 28333,
14
"network": "ipv4"
15
}
16
],
17
"error": null,
18
"id": 1
19
}
1
{
2
"result": [
3
{
4
"time": 1793903325,
5
"services": 1061,
6
"servicesnames": [
7
"NETWORK",
8
"BLOOM",
9
"BITCOIN_CASH",
10
"NETWORK_LIMITED"
11
],
12
"address": "192.0.2.1",
13
"port": 28333,
14
"network": "ipv4"
15
}
16
],
17
"error": null,
18
"id": 1
19
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free