nimiqclient.models.block_log.BlockLog

class nimiqclient.models.block_log.BlockLog(type_, inherents, transactions)[source]

Bases: object

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.

  • 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)[source]

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