Actions111
- Account Actions
- Administration Actions
- Block Actions
- Confirmation Actions
- Conversion Actions
- Key Actions
- Ledger Actions
- Network Actions
- Representative Actions
- Transaction Actions
- Wallet Actions
- Add Key to Wallet
- Add Watch-Only
- Change Password
- Change Wallet Seed
- Check Wallet Locked
- Create Account
- Create Multiple Accounts
- Create Wallet
- Destroy Wallet
- Enter Password
- Export Wallet
- Get Account Work
- Get Receive Minimum
- Get Wallet Balances
- Get Wallet Frontiers
- Get Wallet History
- Get Wallet Info
- Get Wallet Ledger
- Get Wallet Receivable
- Get Wallet Representative
- Get Wallet Work
- List Accounts
- Lock Wallet
- Move Accounts
- Remove Account
- Republish Wallet Blocks
- Search Receivable
- Search Receivable All
- Set Account Representative
- Set Account Work
- Set Receive Minimum
- Set Wallet Representative
- Validate Password
- Wallet Contains
- Work Actions
Wallet → Set Account Representative
AI-generatedSummary
Set the representative account for a specific Nano account within a wallet on a Nano node with control enabled.
Inputs
- walletAccount (required) — The Nano account address to set the representative for.
- representativeAddress (required) — The representative account address to assign to the specified account.
- accountRepSetWork — An optional external work value (16-character hex string) to use for this operation; providing this disables work precaching.
- manualWalletId — Optional manual specification of the wallet ID; defaults to the credential wallet if omitted.
- options.timeout — Timeout for the RPC request in milliseconds, defaulting to 15000 ms.
- options.maxRetries — Number of retries for transient RPC failures before failing, default is 2.
Output shape
a single JSON object containing the result of the RPC call confirming the representative set operation
Requires that the Nano node configuration has enable_control set to true; otherwise, the RPC call will be rejected. The operation returns the raw RPC response indicating success or failure of setting the account representative.