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
                       directDepositAddress:(nullable NSString *)directDepositAddress
                                       path:(nullable NSString *)path
                                      nonce:(nullable NSNumber *)nonce;

    Swift

    init(address: String, directDepositAddress: String?, path: String?, nonce: NSNumber?)
  • Declaration

    Objective-C

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

    Declaration

    Objective-C

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

    Swift

    var address: String { get }
  • Account direct deposit crypto address, only applicable to custody accounts. Should only be used to deposit funds from Zumo non-custody accounts.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) NSString *directDepositAddress;

    Swift

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

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) 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 }