TzKTStakingUpdate
public struct TzKTStakingUpdate : Codable
A model matching the response that comes back from TzKT’s API: v1/staking/updates
-
Block level
Declaration
Swift
public let level: Decimal
-
Date / Time operation was submitted
Declaration
Swift
public let timestamp: String
-
Cycle that the operation was submitted
Declaration
Swift
public let cycle: Int
-
The baker delegated too at the time
Declaration
Swift
public let baker: TzKTAddress
-
The stake that prefromed it
Declaration
Swift
public let staker: TzKTAddress
-
Type of event (stake, unstake)
Declaration
Swift
public let type: String
-
RPC value of the XTZ amount
Declaration
Swift
public let amount: Decimal
-
Declaration
Swift
public var dateTime: Date { get }