getOwnedObjects

open suspend override fun getOwnedObjects(owner: AccountAddress, limit: Int?, cursor: String?, options: ObjectDataOptions): Result<GetOwnedObjectsQuery.Data?, SuiError>

Fetches a paginated list of objects owned by a specific address.

Return

A Result which is either:

Parameters

owner

The AccountAddress of the owner.

limit

An optional integer to specify the maximum number of objects to return per page.

cursor

An optional cursor string for pagination.

options

The ObjectDataOptions specifying which fields of the objects to include in the response.