nimiqclient.models.block_log.AppliedBlockLog

class nimiqclient.models.block_log.AppliedBlockLog(type, inherents, timestamp, transactions)[source]

Bases: BlockLog

Applied block log returned by the server.

Parameters:
  • type (BlockLogType) – The block log type associated with the block log.

  • inherents (List of (str)) – Inherent logs associated with the block log.

  • timestamp (str) – Timestamp associated with the block log.

  • transactions (Lost of (str)) – Transaction logs associated with the block log.

Methods

get_block_log

Get the specific block log type from the dictionary data.

static get_block_log(data)

Get the specific block log type from the dictionary data.

Parameters:

data (dict) – The dictionary containing the data.

Returns:

BlockLog object.

Return type:

BlockLog or AppliedBlockLog or RevertedBlockLog