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

deriveViewingKey

fun deriveViewingKey(spendingKey: String): String

Given a spending key, return the associated viewing key.

Parameters

spendingKey - the key from which to derive the viewing key.

Return
the viewing key that corresponds to the spending key.