Nano Node RPC icon

Nano Node RPC

Interact with Nano cryptocurrency network

Actions111

Wallet → Get Wallet Ledger

AI-generated

Summary

Retrieve the ledger of a specified Nano wallet, optionally filtered by a modification timestamp and including additional details such as representative info, weight info, and receivable balance.

Inputs

  • Wallet ID (Manual) — Manually specify the wallet ID to query. Defaults to the credential's wallet if omitted.
  • Modified Since — A Unix timestamp to filter the ledger entries to only those modified since this time. Use 0 to include all entries.
  • Include Representative — Boolean flag to include representative information for each ledger entry.
  • Include Weight — Boolean flag to include weight information related to each ledger entry.
  • Include Receivable — Boolean flag to include receivable balance information in the results.
  • Timeout (Ms) — Optional request timeout in milliseconds, defaulting to 15000 ms.
  • Max Retries — Optional number of retry attempts for transient RPC failures before failing, default 2.

Output shape

A JSON object representing the wallet's ledger entries as returned by the Nano node's wallet_ledger RPC call, with optional fields included according to input flags.

The RPC call requires that 'enable_control' is enabled in the Nano node configuration. Without this, the call will be rejected. The operation allows filtering ledger entries by a 'modified_since' Unix timestamp (0 for no filter). Optional flags control inclusion of representative, weight, and receivable data. The wallet ID defaults to the credential wallet if not manually specified. The output schema matches the underlying wallet_ledger response from the Nano node's RPC interface, including the requested optional details.

Links

Discussion