Object
Functions
Link copied to clipboard
abstract suspend fun getDynamicFieldObject(parentId: String, name: DynamicFieldName): Result<GetDynamicFieldObjectQuery.Data?, SuiError>
Fetches an object that is stored as a dynamic field on a parent object.
Link copied to clipboard
Link copied to clipboard
abstract suspend fun getOwnedObjects(owner: AccountAddress, limit: Int? = null, cursor: String? = null, options: ObjectDataOptions = ObjectDataOptions()): Result<GetOwnedObjectsQuery.Data?, SuiError>
Fetches a paginated list of objects owned by a specific address.
Link copied to clipboard
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.
Link copied to clipboard
abstract suspend fun tryGetPastObject(id: String, version: Int? = null, options: ObjectDataOptions = ObjectDataOptions()): Result<TryGetPastObjectQuery.Data?, SuiError>
Fetches a historical version of a specific object.