Function API.getBlock

Expose blocks as a REST collection

abstract const(Block) getBlock (
  ulong _height
) @safe;

API

GET /blocks/:height

Parameters

NameDescription
_height The height of the block to return

Returns

The block at height _height, or throw an Exception (404).