nimiqclient.models.log.UpdateStakerLog¶
- class nimiqclient.models.log.UpdateStakerLog(type, stakerAddress, oldValidatorAddress=None, newValidatorAddress=None)[source]¶
Bases:
LogStaker update log returned by the server.
- Parameters:
type (LogType) – The log type associated with the log.
stakerAddress (str) – Address of the staker associated with the log.
oldValidatorAddress (str) – Optional old validator address of the staker associated with the log.
newValidatorAddress (str) – Optional new validator address of the staker associated with the log.
Methods
Get the specific log type from the dictionary data.