list Owned Collections
suspend fun listOwnedCollections(allPages: Boolean? = true, pageCursor: String? = null, pageSize: Int? = null, sort: List<ListOwnedTokensSort>? = null, order: Order? = null, status: TokensStatus? = null, search: String? = null): Result<PaginatedResponse<TokenOwnershipResponse>>
Returns all owned NFT collections
Return
A Result containing a PaginatedResponse of TokenOwnershipResponse if the collections were successfully retrieved, or an EmbeddedWalletException in case of failure.
Parameters
all Pages
If true, will fetch all pages of the collections. If false, will fetch only the page specified by pageCursor.
page Cursor
The cursor to fetch the next page.
page Size
The size of the page.
sort
Sort by param ListOwnedTokensSort
order
Order by param Order
status
The status of the owned NFTs to be fetched. TokensStatus
search
Search owned tokens and their collections. Possible criteria for search: token name and id within the contract/collection, collection name, blockchain descriptor and name.