Nano Node RPC icon

Nano Node RPC

Interact with Nano cryptocurrency network

Actions111

Block → Get Blocks Info

AI-generated

Summary

Fetches detailed information for one or more Nano blocks by their block hashes.

Inputs

  • blockHashes (required) — Comma-separated list of block hashes to query.
  • blocksInfoIncludeNotFound — If true, includes a blocks_not_found array in the response instead of throwing an error for missing blocks (Nano v19.0+).
  • blocksInfoPending — If true, adds a pending field indicating whether the block is pending/receivable (v9.0+).
  • blocksInfoSource — If true, includes the source account for receive and open blocks (v9.0+).
  • blocksInfoReceiveHash — If true, includes the receive block hash for send blocks (v24.0+).
  • blocksInfoIncludeLinkedAccount — If true, includes the linked_account field (v28.0+).
  • options.timeout — Request timeout in milliseconds (default 15000, min 1000, max 600000).
  • options.maxRetries — Number of retry attempts for transient RPC failures (default 2, min 0, max 10).

Output shape

object

Contains a blocks map (hash → block details) and, when blocksInfoIncludeNotFound is true, a blocks_not_found array of missing hashes.

Links

Discussion