getKeyDerivation

open fun getKeyDerivation(coin: CoinType, derivation: Derivation): PrivateKey

Generates the private key for the specified derivation.

Return

The private key for the specified derivation path/coin

See also

TWHDWalletGetKey
TWHDWalletGetKeyForCoin

Parameters

wallet

non-null TWHDWallet

coin

a coin type

derivation

a (custom) derivation to use