Object

interface Object

Object interface

This interface represents the object API

Inheritors

Functions

Link copied to clipboard
abstract suspend fun getDynamicFieldObject(parentId: String, name: DynamicFieldName): Option<DynamicFieldObject>

Get a dynamic field object

Link copied to clipboard
abstract suspend fun getDynamicFields(parentId: String, limit: UInt?, cursor: String?): Option<DynamicFields>

Get dynamic fields

Link copied to clipboard
abstract suspend fun getObject(id: String, option: ObjectDataOptions = ObjectDataOptions()): Option<Object>

Get an object by ID

Link copied to clipboard
abstract suspend fun getOwnedObjects(owner: AccountAddress, limit: Int? = null, cursor: String? = null, option: ObjectDataOptions = ObjectDataOptions()): Option<OwnedObjects>

Get owned objects

Link copied to clipboard
abstract suspend fun tryGetPastObject(id: String, version: Int?): Option<PastObject>

Try to get a past object