zcash-android-wallet-sdk / cash.z.wallet.sdk / Initializer / deriveViewingKeys

deriveViewingKeys

fun deriveViewingKeys(seed: ByteArray, numberOfAccounts: Int = 1): Array<String>

Given a seed and a number of accounts, return the associated viewing keys.

Parameters

seed - the seed from which to derive viewing keys.

numberOfAccounts - the number of accounts to use. Multiple accounts are not fully supported so the default value of 1 is recommended.

Return
the viewing keys that correspond to the seed, formatted as Strings.