getSupportedAssets

suspend fun getSupportedAssets(allPages: Boolean? = true, pageCursor: String? = null, pageSize: Int? = null, onlyBaseAssets: Boolean? = null): Result<PaginatedResponse<Asset>>

Get all supported assets.

Return

A Result containing a PaginatedResponse of Asset if the supported assets were successfully retrieved, or an EmbeddedWalletException in case of failure.

Parameters

allPages

If true, will fetch all pages of the supported assets. If false, will fetch only the page specified by pageCursor.

pageCursor

The cursor to fetch the next page.

pageSize

The number of results to return per page.

onlyBaseAssets

If true, will fetch only base assets.