Object

class Object(val config: SuiConfig) : Object

Object API implementation

This namespace contains all the functions related to objects

Constructors

Link copied to clipboard
constructor(config: SuiConfig)

Properties

Link copied to clipboard

The SuiConfig to use

Functions

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

Get a dynamic field object

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

Get dynamic fields

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

Get an object by ID

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

Get owned objects

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

Try to get a past object