getKey

open fun getKey(coin: CoinType, derivationPath: String): PrivateKey

Generates the private key for the specified derivation path.

Return

The private key for the specified derivation path/coin

See also

TWHDWalletGetKeyForCoin
TWHDWalletGetKeyDerivation

Parameters

wallet

non-null TWHDWallet

coin

a coin type

derivationPath

a non-null derivation path