Nano Node RPC icon

Nano Node RPC

Interact with Nano cryptocurrency network

Actions111

Wallet → Set Wallet Representative

AI-generated

Summary

Set the representative account for a specified Nano wallet, optionally updating the representative for all existing accounts within that wallet.

Inputs

  • representativeAddress (required) — The new representative account address to set for the wallet.
  • updateExisting — Boolean flag indicating whether to update existing accounts within the wallet to the new representative address. Defaults to true.
  • manualWalletId — Optionally specify the wallet ID manually; if omitted, the node's credential wallet ID is used.
  • options — Additional options including request timeout and max retries for RPC calls.

Output shape

The operation returns the result of the walletRepresentativeSet RPC call, typically an object indicating success or failure.

Ensure your Nano node configuration has 'enable_control = true' enabled, as this RPC call requires it or will be rejected. The operation updates the representative for the wallet and, if 'updateExisting' is true, updates all existing accounts to the new representative.

Links

Discussion