getOwnedObjects

suspend fun getOwnedObjects(address: SuiAddress, query: ObjectResponseQuery, cursor: String? = null, limit: Int): ObjectsPage

Retrieves the owned objects based on the provided address, query, cursor, and limit.

Return

The ObjectsPage containing the owned objects.

Parameters

address

The SuiAddress representing the owner's address.

query

The ObjectResponseQuery to filter the owned objects.

cursor

The cursor indicating the starting point of the query results (optional).

limit

The maximum number of objects to retrieve.

Throws

if an error occurs while retrieving the owned objects.