IObjectData
Namespace: IotaSdk
Object data, either a package or struct
BCS
The BCS serialized form for this type is defined by the following ABNF:
object-data = object-data-struct / object-data-package
object-data-struct = %d00 object-move-struct
object-data-package = %d01 object-move-package
public interface IObjectData : System.IEquatable`1[[IotaSdk.ObjectData, IotaSdk, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]
Implements IEquatable<ObjectData>
Attributes NullableContextAttribute
Methods
AsOptPackage()
Try to interpret this object as a MovePackage
MovePackage? AsOptPackage()
Returns
AsOptStruct()
Try to interpret this object as a MoveStruct
MoveStruct? AsOptStruct()
Returns
IsPackage()
Return whether this object is a MovePackage
bool IsPackage()
Returns
IsStruct()
Return whether this object is a MoveStruct
bool IsStruct()