Function NetworkClient.getBlocksFrom

Get the array of blocks starting from the provided block height. The block at height is included in the array.

const(Block)[] getBlocksFrom (
  ulong height,
  uint max_blocks
);

Parameters

NameDescription
height the starting block height to begin retrieval from
max_blocks the maximum blocks to return at once

Returns

the array of blocks starting from height, up to max_blocks.

If the request failed, returns an empty array