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

21 lines
777 B
Markdown
Raw Normal View History

2020-06-10 00:27:52 -07:00
[zcash-android-wallet-sdk](../../index.md) / [cash.z.ecc.android.sdk](../index.md) / [SdkSynchronizer](index.md) / [isValidTransparentAddr](./is-valid-transparent-addr.md)
2020-01-15 05:07:00 -08:00
# isValidTransparentAddr
`suspend fun isValidTransparentAddr(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)
Returns true when the given address is a valid t-addr. Invalid addresses will throw an
2020-06-10 00:27:52 -07:00
exception. Valid t-addresses have these characteristics: //TODO copy info from related ZIP
2020-01-15 05:07:00 -08:00
### Parameters
`address` - the address to validate.
### Exceptions
2020-06-09 20:28:21 -07:00
`RuntimeException` - when the address is invalid.
2020-06-10 00:27:52 -07:00
**Return**
true when the given address is a valid t-addr.