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
| Name | Summary |
|---|---|
| asPackage | abstract fun asPackage(): MovePackage Interpret this object as a move package |
| asPackageOpt | abstract fun asPackageOpt(): MovePackage? Try to interpret this object as a move package |
| asStruct | abstract fun asStruct(): MoveStruct Interpret this object as a move struct |
| asStructOpt | abstract fun asStructOpt(): MoveStruct? Try to interpret this object as a move struct |
| data | abstract fun data(): ObjectData Return this object's data |
| digest | abstract fun digest(): ObjectDigest Calculate the digest of this Object |
| id | abstract fun id(): ObjectId Return this object's id |
| objectRef | abstract fun objectRef(): ObjectReference Return this object's reference |
| objectType | abstract fun objectType(): ObjectType Return this object's type |
| owner | abstract fun owner(): Owner Return this object's owner |
| previousTransaction | abstract fun previousTransaction(): TransactionDigest Return the digest of the transaction that last modified this object |
| storageRebate | abstract fun storageRebate(): ULong Return the storage rebate locked in this object |
| version | abstract fun version(): Version Return this object's version |