Skip to main content

ObjectInterface

interface ObjectInterface

An object on the IOTA blockchain

BCS

The BCS serialized form of this type is specified in bcs-schema.abnf.

Inheritors​

Object

Functions​

NameSummary
asOptPackageabstract fun asOptPackage(): MovePackage?
Try to interpret this object as a move package
asOptStructabstract fun asOptStruct(): MoveStruct?
Try to interpret this object as a move struct
asPackageabstract fun asPackage(): MovePackage
Interpret this object as a move package
asStructabstract fun asStruct(): MoveStruct
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
toBcsabstract fun toBcs(): ByteArray
Convert this type to BCS encoded bytes.
toDisplayStringabstract fun toDisplayString(): String
Render this type as human-readable text.
toJsonabstract fun toJson(): String
Convert this type to a JSON encoded string.
versionabstract fun version(): Version
Return this object's version