State
public final class State
Record containing state details.
Public Method Summary
Type | Method |
---|---|
boolean | equals(Object obj) |
ArrayList<Account> | getAccounts() Active user's accounts. |
String | getActiveUserId() Authenticated active user id or null. |
HashMap<String, FeeRates> | getFeeRates() Latest cryptocurrency transaction fee rates. |
String | getExchangeRates() Latest cryptocurrency to fiat exchange rates. |
ArrayList<Transaction> | getTransactions() Active user's transactions. |
TxServiceConnection | getTxServiceConnection() Transaction service connection status. |
int | hashCode() |
String | toString() |
Public Methods
equals
boolean equals(Object obj)
getAccounts
ArrayList<Account> getAccounts()
Active user's accounts.
getActiveUserId
String getActiveUserId()
Authenticated active user id or null.
getFeeRates
HashMap<String, FeeRates> getFeeRates()
Latest cryptocurrency transaction fee rates contained in a mapping between coin symbol names (BTC, ETH, etc.) and FeeRates objects containing fee rates by different confirmation times (slow, average or fast).
getExchangeRates
String getExchangeRates()
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"
}
}
}
getTransactions
ArrayList<Transaction> getTransactions()
Active user's transactions.
getTxServiceConnection
TxServiceConnection getTxServiceConnection()
Transaction service connection status.
hashCode
int hashCode()
toString
String toString()