zcash-android-wallet-sdk/docs/-synchronizer/get-address.md

17 lines
583 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) / [Synchronizer](index.md) / [getAddress](./get-address.md)
# getAddress
`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)
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.