Nano Node RPC icon

Nano Node RPC

Interact with Nano cryptocurrency network

Actions111

Ledger → Get Ledger

AI-generated

Summary

Fetches ledger entries starting at a specified Nano account, with optional filters and additional account data. Requires the Nano node’s enable_control = true setting for the RPC call to succeed.

Inputs

  • Starting Account (required) — Account to start from.
  • Count — Number of accounts to return; defaults to 10 and is ignored when Sort by Balance is enabled.
  • Include Representative — Whether to include each account’s representative; defaults to false.
  • Include Weight — Whether to include each account’s voting weight; defaults to false.
  • Include Receivable — Whether to include each account’s receivable balance; defaults to false.
  • Modified Since — Return accounts modified after this UNIX timestamp; defaults to 0, which includes accounts regardless of modification time. Available on Nano node v11.0+.
  • Sort by Balance — Sort accounts by descending balance; defaults to false. When enabled, Count is ignored.
  • Threshold (Raw) — Return accounts whose balance exceeds this raw amount; leave empty to include all balances. Available on Nano node v19.0+. When Include Receivable is enabled, the threshold applies to the sum of balance and receivable.
  • Timeout (Ms) — RPC request timeout in milliseconds; defaults to 15000.
  • Max Retries — Retries for transient RPC failures before failing; defaults to 2.

Output shape

A single RPC response containing ledger account entries.

Each entry may include representative, voting weight, and receivable data when requested. The exact response fields and pagination behavior are not shown in the supplied source pack.

Links

Discussion