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

19 lines
763 B
Markdown
Raw Normal View History

2020-01-15 05:07:00 -08:00
[zcash-android-wallet-sdk](../../index.md) / [cash.z.wallet.sdk](../index.md) / [SdkSynchronizer](index.md) / [isValidShieldedAddr](./is-valid-shielded-addr.md)
# isValidShieldedAddr
`suspend fun isValidShieldedAddr(address: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`): `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)
Overrides [Synchronizer.isValidShieldedAddr](../-synchronizer/is-valid-shielded-addr.md)
Returns true when the given address is a valid z-addr. Invalid addresses will throw an
exception. Valid z-addresses have these characteristics: //TODO
### Parameters
`address` - the address to validate.
### Exceptions
2020-06-09 20:28:21 -07:00
`RuntimeException` - when the address is invalid.