getDerivedKey

open fun getDerivedKey(coin: CoinType, account: Int, change: Int, address: Int): PrivateKey

Shortcut method to generate private key with the specified account/change/address (bip44 standard).

Return

The private key for the specified bip44 parameters

See also

https

://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki

Parameters

wallet

non-null TWHDWallet

coin

a coin type

account

valid bip44 account

change

valid bip44 change

address

valid bip44 address