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;
Swift
init(address: String, path: String, nonce: NSNumber?)
-
Declaration
Objective-C
+ (nonnull instancetype)accountCryptoPropertiesWithAddress:(nonnull NSString *)address path:(nonnull NSString *)path nonce:(nullable NSNumber *)nonce;
-
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 }