The sample response shows one address. Use count to request more addresses.
Parameters
- countinteger
Maximum number of addresses to return. Use 0 for all known addresses.
Returns
- resultarray
One entry per known node address.
- timeinteger
Unix timestamp when this address was last seen.
- servicesinteger
Service flags advertised by the node.
- servicesnamesarray
Human-readable names of the advertised service flags.
- addressstring
Node IP address or onion address.
- portinteger
Node network port.
- networkstring
Address network: ipv4, ipv6, or onion.
- errorobject | null
JSON-RPC error, or null on success.
- idinteger
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": 119}
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": 119}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free