zcash-android-wallet-sdk/docs/-sdk-synchronizer/is-valid-shielded-addr.md

765 B

zcash-android-wallet-sdk / cash.z.ecc.android.sdk / SdkSynchronizer / isValidShieldedAddr

isValidShieldedAddr

suspend fun isValidShieldedAddr(address: String): Boolean

Returns true when the given address is a valid z-addr. Invalid addresses will throw an exception. Valid z-addresses have these characteristics: //TODO copy info from related ZIP

Parameters

address - the address to validate.

Exceptions

RuntimeException - when the address is invalid.

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