ZKAccountCryptoProperties

Objective-C

@interface ZKAccountCryptoProperties : NSObject

Swift

class ZKAccountCryptoProperties : NSObject

Record containing account’s crypto related properties.

See

ZKAccount
  • Declaration

    Objective-C

    - (nonnull instancetype)initWithAddress:(nonnull NSString *)address
                                       path:(nonnull NSString *)path
                                      nonce:(nullable NSNumber *)nonce
                                   utxoPool:(nullable NSString *)utxoPool
                                    version:(int8_t)version;

    Swift

    init(address: String, path: String, nonce: NSNumber?, utxoPool: String?, version: Int8)
  • Declaration

    Objective-C

    + (nonnull instancetype)accountCryptoPropertiesWithAddress:(nonnull NSString *)address
                                                          path:(nonnull NSString *)path
                                                         nonce:(nullable NSNumber *)nonce
                                                      utxoPool:(nullable NSString *)utxoPool
                                                       version:(int8_t)version;
  • Account crypto address.

    Declaration

    Objective-C

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

    Swift

    var address: String { get }
  • Hierarchical Deterministic (HD) account derivation path.

    Declaration

    Objective-C

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

    Swift

    var path: String { get }
  • Ethereum account nonce if greater than 0 or null otherwise.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) NSNumber *nonce;

    Swift

    var nonce: NSNumber? { get }
  • Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) NSString * utxoPool

    Swift

    var utxoPool: String? { get }
  • Declaration

    Objective-C

    @property (nonatomic, readonly) int8_t version

    Swift

    var version: Int8 { get }