ZKFeeRates

Objective-C

@interface ZKFeeRates : NSObject

Swift

class ZKFeeRates : NSObject

Record containing crypto transactions fee rates.

  • Declaration

    Objective-C

    - (nonnull instancetype)initWithSlow:(nonnull NSDecimalNumber *)slow
                                 average:(nonnull NSDecimalNumber *)average
                                    fast:(nonnull NSDecimalNumber *)fast
                                slowTime:(float)slowTime
                             averageTime:(float)averageTime
                                fastTime:(float)fastTime
                                  source:(nonnull NSString *)source;

    Swift

    init(slow: NSDecimalNumber, average: NSDecimalNumber, fast: NSDecimalNumber, slowTime: Float, averageTime: Float, fastTime: Float, source: String)
  • Declaration

    Objective-C

    + (nonnull instancetype)feeRatesWithSlow:(nonnull NSDecimalNumber *)slow
                                     average:(nonnull NSDecimalNumber *)average
                                        fast:(nonnull NSDecimalNumber *)fast
                                    slowTime:(float)slowTime
                                 averageTime:(float)averageTime
                                    fastTime:(float)fastTime
                                      source:(nonnull NSString *)source;
  • Fee rate resulting in slow confirmation time.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nonnull) NSDecimalNumber *slow;

    Swift

    var slow: NSDecimalNumber { get }
  • Fee rate resulting in average confirmation time.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nonnull) NSDecimalNumber *average;

    Swift

    var average: NSDecimalNumber { get }
  • Fee rate resulting in fast confirmation time.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nonnull) NSDecimalNumber *fast;

    Swift

    var fast: NSDecimalNumber { get }
  • Slow confirmation time in hours.

    Declaration

    Objective-C

    @property (nonatomic, readonly) float slowTime;

    Swift

    var slowTime: Float { get }
  • Average confirmation time in hours.

    Declaration

    Objective-C

    @property (nonatomic, readonly) float averageTime;

    Swift

    var averageTime: Float { get }
  • Fast confirmation time in hours.

    Declaration

    Objective-C

    @property (nonatomic, readonly) float fastTime;

    Swift

    var fastTime: Float { get }
  • Fee rate information provider.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nonnull) NSString *source;

    Swift

    var source: String { get }