Nano Node RPC icon

Nano Node RPC

Interact with Nano cryptocurrency network

Actions111

Account → Get Accounts Receivable

AI-generated

Summary

Retrieve receivable blocks for specified Nano accounts, optionally filtering by minimum raw amount, pagination, sorting, and including source account information.

Inputs

  • accountsList (required) — Comma-separated list of Nano account addresses to fetch receivables for.
  • accountsReceivableCount — Maximum number of receivable blocks to return per account, default is 10.
  • accountsReceivableThreshold — Minimum raw amount threshold to filter receivables; leave empty to include all.
  • accountsReceivableSource — Whether to include source account information in the response; requires Nano node v15.0+.
  • accountsReceivableSorting — Whether to sort receivables by amount descending; requires Nano node v19.0+.
  • accountsReceivableOffset — Number of receivables to skip for pagination purposes; requires Nano node v19.0+.
  • options — Additional options including request timeout in milliseconds and maximum retry attempts for transient RPC failures.

Output shape

A JSON object containing receivable blocks data for each specified account, filtered and sorted according to the provided parameters.

Supports pagination via the offset parameter and sorting by amount in descending order if enabled. Source account details are included only if requested and supported by the Nano node version. Errors relate to RPC communication or invalid account data may occur.

Examples

Example 1: Fetch up to 5 receivable blocks for two accounts, including source information, filtering receivables of at least 1 Nano (in raw units).

accountsList set to 'nano_1abc...,nano_2def...', accountsReceivableCount set to 5, accountsReceivableThreshold set to '1000000000000000000000000', accountsReceivableSource set to true.

Links

Discussion