IObject
Namespace: IotaSdk
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
public interface IObject : System.IEquatable`1[[IotaSdk.Object, IotaSdk, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]
Implements IEquatable<Object>
Attributes NullableContextAttribute
Methods
AsPackage()
Interpret this object as a move package
MovePackage AsPackage()
Returns
AsPackageOpt()
Try to interpret this object as a move package
MovePackage? AsPackageOpt()
Returns
AsStruct()
Interpret this object as a move struct
MoveStruct AsStruct()
Returns
AsStructOpt()
Try to interpret this object as a move struct
MoveStruct? AsStructOpt()
Returns
Data()
Return this object's data
ObjectData Data()
Returns
Digest()
Calculate the digest of this Object
This is done by hashing the BCS bytes of this Object prefixed
ObjectDigest Digest()
Returns
Id()
Return this object's id
ObjectId Id()
Returns
ObjectRef()
Return this object's reference
ObjectReference ObjectRef()
Returns
ObjectType()
Return this object's type
ObjectType ObjectType()
Returns
Owner()
Return this object's owner
Owner Owner()
Returns
PreviousTransaction()
Return the digest of the transaction that last modified this object
TransactionDigest PreviousTransaction()
Returns
StorageRebate()
Return the storage rebate locked in this object
Storage rebates are credited to the gas coin used in a transaction that deletes this object.
ulong StorageRebate()
Returns
Version()
Return this object's version
Version Version()