nimiqclient.models.log.SlashLog¶
- class nimiqclient.models.log.SlashLog(type, validatorAddress, eventBlock, slot, newlyDisabled)[source]¶
Bases:
LogValidator slashing log returned by the server.
- Parameters:
type (LogType) – The log type associated with the log.
validatorAddress (str) – Address of the validator associated with the log.
eventBlock (int) – Event block associated with the log.
slot (int) – Slot associated with the log.
newlyDisabled (bool) – Flag indicating if the validator has been newly disabled or not.
Methods
Get the specific log type from the dictionary data.