Account

class Account

Represents an Account in C++ with address, coin type and public key info, an item within a keystore.

Constructors

Link copied to clipboard
open fun Account(address: String, coin: CoinType, derivation: Derivation, derivationPath: String, publicKey: String, extendedPublicKey: String)
Creates a new Account with an address, a coin type, derivation enum, derivationPath, publicKey, and extendedPublicKey.

Functions

Link copied to clipboard
open fun address(): String
Returns the address of an account.
Link copied to clipboard
open fun coin(): CoinType
Return CoinType enum of an account.
Link copied to clipboard
open fun derivation(): Derivation
Returns the derivation enum of an account.
Link copied to clipboard
Returns derivationPath of an account.
Link copied to clipboard
Returns Base58 encoded extendedPublicKey of an account.
Link copied to clipboard
open fun publicKey(): String
Returns hex encoded publicKey of an account.