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

771 B

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

isValidShieldedAddr

abstract 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.