Skip to main content

ObjectInterface

interface ObjectInterface

An object on the IOTA blockchain

BCS

The BCS serialized form for this type is defined by the following ABNF:

object = object-data owner digest u64

Inheritors

Object

Functions

NameSummary
asPackageabstract fun asPackage(): MovePackage
Interpret this object as a move package
asPackageOptabstract fun asPackageOpt(): MovePackage?
Try to interpret this object as a move package
asStructabstract fun asStruct(): MoveStruct
Interpret this object as a move struct
asStructOptabstract fun asStructOpt(): MoveStruct?
Try to interpret this object as a move struct
dataabstract fun data(): ObjectData
Return this object's data
digestabstract fun digest(): ObjectDigest
Calculate the digest of this Object
idabstract fun id(): ObjectId
Return this object's id
objectRefabstract fun objectRef(): ObjectReference
Return this object's reference
objectTypeabstract fun objectType(): ObjectType
Return this object's type
ownerabstract fun owner(): Owner
Return this object's owner
previousTransactionabstract fun previousTransaction(): TransactionDigest
Return the digest of the transaction that last modified this object
storageRebateabstract fun storageRebate(): ULong
Return the storage rebate locked in this object
versionabstract fun version(): Version
Return this object's version