2020-06-10 00:27:52 -07:00
|
|
|
[zcash-android-wallet-sdk](../../index.md) / [cash.z.ecc.android.sdk](../index.md) / [Synchronizer](index.md) / [getAddress](./get-address.md)
|
2019-03-28 23:31:25 -07:00
|
|
|
|
|
|
|
# getAddress
|
|
|
|
|
2019-08-30 10:05:02 -07:00
|
|
|
`abstract suspend fun getAddress(accountId: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)` = 0): `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)
|
2019-03-28 23:31:25 -07:00
|
|
|
|
|
|
|
Gets the address for the given account.
|
|
|
|
|
|
|
|
### Parameters
|
|
|
|
|
2020-01-15 05:07:00 -08:00
|
|
|
`accountId` - the optional accountId whose address is of interest. By default, the first
|
2020-06-09 20:28:21 -07:00
|
|
|
account is used.
|
2020-06-10 00:27:52 -07:00
|
|
|
|
|
|
|
**Return**
|
|
|
|
the address for the given account.
|
|
|
|
|