nimiqclient.models.block.BlockTemplate

class nimiqclient.models.block.BlockTemplate(header, interlink, body, target)[source]

Bases: object

Block template returned by the server.

Parameters
  • header (BlockTemplateHeader) – Block template header returned by the server.

  • interlink (str) – Hex-encoded interlink.

  • body (BlockTemplateBody) – Block template body returned by the server.

  • target (int) – Compact form of the hash target to submit a block to this client.

Methods