nimiqclient.models.staker.Staker

class nimiqclient.models.staker.Staker(address, balance, inactiveBalance, retiredBalance, delegation=None, inactiveFrom=None)[source]

Bases: object

Staker returned by the server

Parameters:
  • address (str) – Address of the staker.

  • balance (int) – Balance of the staker.

  • inactiveBalance (int) – Inactive balance of the staker.

  • retiredBalance (int) – Retired balance of the staker.

  • delegation (str, optional) – Optional address of the delegated validator

  • inactiveFrom (int, optional) – Optional value indicating since which block this staker has been inactive.

Methods