TzKTDelegatorReward
public struct TzKTDelegatorReward : Codable
An object containing info on the reward a delegator should receive from a baker
-
Declaration
Swift
public let cycle: Int
-
Declaration
Swift
public let balance: Decimal
-
Declaration
Swift
public let baker: TzKTAddress
-
Declaration
Swift
public let stakingBalance: Decimal
-
Declaration
Swift
public let blockRewards: Decimal
-
Declaration
Swift
public let missedBlockRewards: Decimal
-
Declaration
Swift
public let endorsementRewards: Decimal
-
Declaration
Swift
public let missedEndorsementRewards: Decimal
-
Declaration
Swift
public let blockFees: Decimal
-
Declaration
Swift
public let missedBlockFees: Decimal
-
Declaration
Swift
public let extraBlockRewards: Decimal
-
Declaration
Swift
public let missedExtraBlockRewards: Decimal
-
Declaration
Swift
public let futureBlockRewards: Decimal
-
Declaration
Swift
public let futureEndorsementRewards: Decimal
-
Return an estimated either for potential future or actual rewards
Declaration
Swift
public func estimatedReward(withFee fee: Double, andRewardStruct: TzKTBakerConfigRewardStruct?) -> XTZAmount