ZKState
@interface ZKState : NSObject
Record containing state details.
accounts
@property (nonatomic, readonly, nonnull) NSArray<ZKAccount *> * accounts;
Active user's accounts.
activeUserId
@property (nonatomic, readonly, nullable) NSString * activeUserId;
Authenticated active user id or null.
feeRates
@property (nonatomic, readonly, nonnull) NSDictionary<NSString *, ZKFeeRates *> * feeRates;
Latest cryptocurrency transaction fee rates contained in a mapping between coin symbol names (BTC, ETH, etc.) and ZKFeeRates objects containing fee rates by different confirmation times (slow, average or fast).
exchangeRates
@property (nonatomic, readonly, nonnull) NSString * exchangeRates;
Exchange rates property contains latest exchange rates between EUR/USD and BTC/ETH. Exchange rates property contains stringified JSON in the following format:
{
"ETH":{
"USD":{
"timestamp":1554470495,
"value":"166.30"
},
"EUR":{
"timestamp":1554470493,
"value":"148.51"
}
},
"BTC":{
"USD":{
"timestamp":1554470493,
"value":"5029.44"
},
"EUR":{
"timestamp":1554470493,
"value":"4491.68"
}
}
}
transactions
@property (nonatomic, readonly, nonnull) NSArray<ZKTransaction *> * transactions;
Active user's transactions.
txServiceConnection
@property (nonatomic, readonly, nonnull) ZKTxServiceConnection * txServiceConnection;
Transaction service connection status.
−description
- (NSString *)description;
−hash
- (NSUInteger)hash;
−isEqual:
- (BOOL)isEqual:(id)other;