Object

interface Object

An object on the Sui blockchain.

Properties

Link copied to clipboard
abstract val balance: <Error class: unknown class>?

Current balance if this object is a 0x2::coin::Coin<T>

Link copied to clipboard
abstract val bcs: Bcs

This Object serialized as BCS.

Link copied to clipboard
abstract val contents: Bcs

BCS bytes of a Move struct value.

Link copied to clipboard
abstract val digest: String?

The digest of this Object.

Link copied to clipboard
abstract val display: Display

JSON rendering of the object based on an on-chain template. This will not be set if the value's type does not have an associated Display template.

Link copied to clipboard
abstract val hasPublicTransfer: Boolean?

DEPRECATED this field is no longer used to determine whether a tx can transfer this object. Instead, it is always calculated from the objects type when loaded in execution.

Link copied to clipboard
abstract val json: Value

JSON rendering of the object.

Link copied to clipboard
abstract val objectId: String?

ObjectId for this object.

Link copied to clipboard
abstract val objectType: String?

The type of this object.

Link copied to clipboard
abstract val owner: Owner

Owner of the object.

Link copied to clipboard
abstract val package: Package

Package information for Move Packages

Link copied to clipboard

Returns the field-presence view for this Object instance.

Link copied to clipboard

The digest of the transaction that created or last mutated this object

Link copied to clipboard
abstract val storageRebate: <Error class: unknown class>?

The amount of SUI to rebate if this object gets deleted. This number is re-calculated each time the object is mutated based on the present storage gas price.

Link copied to clipboard
abstract val version: <Error class: unknown class>?

Version of the object.

Functions

Link copied to clipboard
Link copied to clipboard
fun Object.copy(body: <Error class: unknown class>.() -> Unit = {}): Object

Copies the original message, including unknown fields.