ZKAccount
@interface ZKAccount : NSObject
Record containing account details.
address
@property (nonatomic, readonly, nonnull) NSString * address;
Returns account address. This is wallet address in case that account is a cryptocurrency account.
balance
@property (nonatomic, readonly, nonnull) NSString * balance;
Returns account balance in account currency, i.e. BTC, ETH. Use exchange rates in ZKState object to convert to other currency.
coin
@property (nonatomic, readonly, nonnull) NSString * coin;
Returns coin name in string format, e.g. Bitcoin, Ether.
id
@property (nonatomic, readonly, nonnull) NSString * id;
Returns the unique account identifier.
network
@property (nonatomic, readonly) ZKNetworkType network;
Returns account network type.
nonce
@property (nonatomic, readonly, nullable) NSNumber * nonce;
Returns nonce for Ethereum account if greater than 0, otherwise returns null.
path
@property (nonatomic, readonly, nonnull) NSString * path;
Returns Hierarchical Deterministic (HD) wallet derivation path.
symbol
@property (nonatomic, readonly, nonnull) NSString * symbol;
Returns coin symbol in string format, e.g. BTC, ETH.
type
@property (nonatomic, readonly) ZKAccountType * type;
Returns account type.
−description
- (NSString *)description;
−hash
- (NSUInteger)hash;
−isEqual:
- (BOOL)isEqual:(id)other;