TimeBounds
final public class TimeBounds : Sendable
TimeBounds represents the time interval that a transaction is valid.
-
minTime - 64bit Unix timestamp
Declaration
Swift
final public let minTime: UInt64 -
maxTime - 64bit Unix timestamp
Declaration
Swift
final public let maxTime: UInt64 -
Creates a new TimeBounds object.
Declaration
Swift
public init(minTime: UInt64, maxTime: UInt64)Parameters
minTime64bit Unix timestamp
-
Creates a new TimeBounds object from a TimeboundsXDR.
Declaration
Swift
public init(timebounds: TimeBoundsXDR)Parameters
timeboundsTimeboundsXDR instance used to init Timebounds
-
Creates a TimeBounds XDR object from the current TimeBounds object.
Declaration
Swift
public func toXdr() -> TimeBoundsXDR
View on GitHub
Install in Dash