Account
public final class Account
Record containing account details.
Public Method Summary
Type | Method |
---|---|
boolean | equals(Object obj) |
String | getAddress() Returns account address. This is wallet address in case that account is a cryptocurrency account. |
String | getBalance() Returns account balance in account currency, i.e. BTC, ETH. |
String | getCoin() Returns coin name in string format, e.g. Bitcoin, Ether. |
String | getId() Returns the unique account identifier. |
NetworkType | getNetwork() Returns account network type. |
Long | getNonce() Returns nonce for Ethereum account if greater than 0, otherwise returns null. |
String | getPath() Returns Hierarchical Deterministic (HD) wallet derivation path. |
String | getSymbol() Returns coin symbol in string format, e.g. BTC, ETH. |
AccountType | getType() Returns account type. |
int | hashCode() |
String | toString() |
Public Methods
equals
boolean equals(Object obj)
getAddress
String getAddress()
Returns account address. This is wallet address in case that account is a cryptocurrency account.
getBalance
String getBalance()
Returns account balance in account currency, i.e. BTC, ETH. Use exchange rates in State object to convert to other currency.
getCoin
String getCoin()
Returns coin name in string format, e.g. Bitcoin, Ether.
getId
String getId()
Returns the unique account identifier.
getNetwork
NetworkType getNetwork()
Returns account network type.
getNonce
Long getNonce()
Returns nonce for Ethereum account if greater than 0, otherwise returns null.
getPath
String getPath()
Returns Hierarchical Deterministic (HD) wallet derivation path.
getSymbol
String getSymbol()
Returns coin symbol in string format, e.g. BTC, ETH.
getType
AccountType getType()
Returns account type.
hashCode
int hashCode()
toString
String toString()