Actions111
- Account Actions
- Administration Actions
- Block Actions
- Confirmation Actions
- Conversion Actions
- Key Actions
- Ledger Actions
- Network Actions
- Representative Actions
- Transaction Actions
- Wallet Actions
- Add Key to Wallet
- Add Watch-Only
- Change Password
- Change Wallet Seed
- Check Wallet Locked
- Create Account
- Create Multiple Accounts
- Create Wallet
- Destroy Wallet
- Enter Password
- Export Wallet
- Get Account Work
- Get Receive Minimum
- Get Wallet Balances
- Get Wallet Frontiers
- Get Wallet History
- Get Wallet Info
- Get Wallet Ledger
- Get Wallet Receivable
- Get Wallet Representative
- Get Wallet Work
- List Accounts
- Lock Wallet
- Move Accounts
- Remove Account
- Republish Wallet Blocks
- Search Receivable
- Search Receivable All
- Set Account Representative
- Set Account Work
- Set Receive Minimum
- Set Wallet Representative
- Validate Password
- Wallet Contains
- Work Actions
Ledger → Get Chain
AI-generatedSummary
Retrieves a sequence of block hashes from the Nano ledger starting at the specified block. Use it to walk a block’s chain, optionally starting after an offset or traversing from the open block toward the frontier.
Inputs
- Block Hash (required) — Hash of the block to start from.
- Offset — Number of blocks to skip from the starting block; defaults to 0 and is supported by Nano node v18.0 or later.
- Count — Maximum number of block hashes to return; defaults to 10 and must be at least 1.
- Reverse Direction — Defaults to false. When enabled, traverses from the open block toward the frontier instead of from the frontier toward the open block.
- Options — Request timeout defaults to 15,000 ms; transient RPC failures are retried up to 2 times by default.
Output shape
A single record containing the returned chain data from the Nano RPC response.
The source pack shows that this operation calls the ledger getChain RPC with the starting block, count, and options. It does not expose the response fields, so the exact record shape is not specified here.