multi Get Objects
abstract suspend fun multiGetObjects(ids: List<String>, limit: Int? = null, cursor: String? = null, options: ObjectDataOptions = ObjectDataOptions()): Result<MultiGetObjectsQuery.Data?, SuiError>
Fetches the details of multiple objects in a single batch request.
Return
A Result which is either:
Ok
: Containing a nullable MultiGetObjectsQuery.Data object with a list of objects.Err
: Containing a SuiError object with a list of GraphQLErrors.
Parameters
ids
A list of unique IDs of the objects to fetch.
limit
An optional integer to specify the maximum number of objects to return per page.
cursor
An optional cursor string for pagination.
options
The options specifying which fields of the objects to include in the response.