Nano Node RPC icon

Nano Node RPC

Interact with Nano cryptocurrency network

Actions111

Work → Add Work Peer

AI-generated

Summary

Adds a peer to the Nano node's work peer list, enabling the node to request proof-of-work from that peer.

Inputs

  • peerAddress (required) — IP address of the peer to add (IPv4 or IPv6).
  • peerPort (required) — Port number on which the peer RPC service is listening.
  • options.timeout — Request timeout in milliseconds (default: 15000).
  • options.maxRetries — Number of times to retry transient RPC failures before failing (default: 2).

Output shape

object

Returns the raw RPC response from the node’s add_peer call. On success the node typically returns an empty object or a confirmation message.

Links

Discussion