zcash-android-wallet-sdk / cash.z.wallet.sdk.transaction / TransactionEncoder / isValidShieldedAddress

isValidShieldedAddress

abstract suspend fun isValidShieldedAddress(address: String): Boolean

Utility function to help with validation. This is not called during createTransaction because this class asserts that all validation is done externally by the UI, for now.

Parameters

address - the address to validate

Return
true when the given address is a valid z-addr