DerivationPath

Represents a BIP44 DerivationPath in C++.

Constructors

Link copied to clipboard
open fun DerivationPath(purpose: Purpose, coin: Int, account: Int, change: Int, address: Int)
Creates a new DerivationPath with a purpose, coin, account, change and address.
Link copied to clipboard
open fun DerivationPath(string: String)
Creates a new DerivationPath with a string

Functions

Link copied to clipboard
open fun account(): Int
Returns the account value of a derivation path.
Link copied to clipboard
open fun address(): Int
Returns the address value of a derivation path.
Link copied to clipboard
open fun change(): Int
Returns the change value of a derivation path.
Link copied to clipboard
open fun coin(): Int
Returns the coin value of a derivation path.
Link copied to clipboard
open fun description(): String
Returns the string description of a derivation path.
Link copied to clipboard
open fun indexAt(index: Int): DerivationPathIndex
Returns the index component of a DerivationPath.
Link copied to clipboard
open fun indicesCount(): Int
Returns the indices count of a DerivationPath.
Link copied to clipboard
open fun purpose(): Purpose
Returns the purpose enum of a DerivationPath.