get Addresses
suspend fun getAddresses(accountId: Int, assetId: String, allPages: Boolean? = true, pageCursor: String? = null, pageSize: Int? = null, order: Order? = null): Result<PaginatedResponse<AddressDetails>>
Returns a paginated response of the addresses for a given vault account and asset.
Return
A Result containing a PaginatedResponse of AddressDetails if the address were successfully retrieved, or an EmbeddedWalletException in case of failure.
Parameters
account Id
The ID of the account to return
asset Id
The ID of the asset
all Pages
If true, will fetch all pages of the assets. If false, will fetch only the page specified by pageCursor.
page Cursor
The cursor to fetch the next page.
page Size
The number of results to return per page.
order
The Order of the assets to be fetched.