WalletCore
WalletCore
/
wallet.core.jni
/
Account
Account
class
Account
Represents an Account in C++ with address, coin type and public key info, an item within a keystore.
Constructors
Functions
Constructors
Account
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
address
Link copied to clipboard
open
fun
address
(
)
:
String
Returns the address of an account.
coin
Link copied to clipboard
open
fun
coin
(
)
:
CoinType
Return CoinType enum of an account.
derivation
Link copied to clipboard
open
fun
derivation
(
)
:
Derivation
Returns the derivation enum of an account.
derivation
Path
Link copied to clipboard
open
fun
derivationPath
(
)
:
String
Returns derivationPath of an account.
extended
Public
Key
Link copied to clipboard
open
fun
extendedPublicKey
(
)
:
String
Returns Base58 encoded extendedPublicKey of an account.
public
Key
Link copied to clipboard
open
fun
publicKey
(
)
:
String
Returns hex encoded publicKey of an account.