Nano Node RPC icon

Nano Node RPC

Interact with Nano cryptocurrency network

Actions111

Network → Get Peers

AI-generated

Summary

Retrieves the list of peers connected to the Nano node.

Inputs

  • peerDetails — Whether to include detailed peer info including node_id and connection type (v18.0+). Default: false.
  • options.timeout — Request timeout in milliseconds. Default: 15000 (15 s). Range: 1000–600000.
  • options.maxRetries — How many times to retry transient RPC failures before failing. Default: 2. Range: 0–10.

Output shape

Returns an array of peer objects. If peerDetails is false (default) each entry contains basic peer information (e.g., address). If peerDetails is true, each entry also includes node_id and connection type.

The actual shape depends on the Nano RPC version; refer to the node's RPC documentation for exact fields.

Links

Discussion