Account
class Account
Class containing account details.
Properties
accountId
accountId: String
Returns account address. This is wallet address in case that account is a cryptocurrency account.
address
address: String
Returns account address. This is wallet address in case that account is a cryptocurrency account.
balance
balance: String
Returns account balance in account currency, i.e. BTC, ETH. Use exchange rates in State object to convert to other currency.
coin
coin: String
Returns coin name in string format, e.g. Bitcoin, Ether.
id
id: String
Returns the unique account identifier.
network
network: String
Returns account network, which can be one of the following:
- MAINNET: Bitcoin or Ethereum mainnet.
- TESTNET: Bitcoin Testnet.
- ROPSTEN: Ethereum Ropsten test network.
- RINKEBY: Ethereum Rinkeby test network.
- GOERLI: Ethereum Goerli test network.
- KOVAN: Ethereum Kovan test network.
nonce
nonce: Number | null
Returns nonce for Ethereum account if greater than 0, otherwise returns null.
path
path: String
Returns Hierarchical Deterministic (HD) wallet derivation path.
symbol
symbol: String
Returns coin symbol in string format, e.g. BTC, ETH.
type
type: String
Returns account type - STANDARD/COMPATIBILITY/SEGWIT. See View User Data for details on account types.