DerivationPath

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. Must be deleted with TWDerivationPathDelete after use.

Return

A new DerivationPath.

Parameters

purpose

The purpose of the Path.

coin

The coin type of the Path.

account

The derivation of the Path.

change

The derivation path of the Path.

address

hex encoded public key.


open fun DerivationPath(string: String)

Creates a new DerivationPath with a string

Return

A new DerivationPath or null if string is invalid.

Parameters

string

The string of the Path.