Nano Node RPC icon

Nano Node RPC

Interact with Nano cryptocurrency network

Actions111

Wallet → Get Account Work

AI-generated

Summary

Retrieve the proof-of-work value for a specific Nano account within a wallet, using the Nano node's RPC interface with control enabled.

Inputs

  • Account (required) — The Nano account address for which to get the current proof-of-work.
  • Wallet ID (Manual) — Optionally specify the wallet ID to query; defaults to the wallet in the node credentials if omitted.
  • Options — Optional parameters for request timeout (in milliseconds) and maximum number of retry attempts for transient RPC call failures.

Output shape

An object containing the work value associated with the specified account within the wallet.

This operation requires the Nano node RPC server configuration to have 'enable_control = true' enabled, otherwise the RPC request will be rejected.

Examples

Example 1: Get the current work value for a Nano account in a wallet.

Provide the Nano account address, optionally specify the wallet ID if different from the default, and optionally set timeout and retry count parameters to control RPC call behavior.

Links

Discussion