Skip to main content

IObjectType

Namespace: IotaSdk

Type of an IOTA object

public interface IObjectType : System.IEquatable`1[[IotaSdk.ObjectType, IotaSdk, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]

Implements IEquatable<ObjectType>
Attributes NullableContextAttribute

Methods​

AsOptStruct()​

StructTag? AsOptStruct()

Returns​

StructTag?

AsStruct()​

StructTag AsStruct()

Returns​

StructTag

IsPackage()​

bool IsPackage()

Returns​

Boolean

IsStruct()​

bool IsStruct()

Returns​

Boolean

ToDisplayString()​

Render this type as human-readable text.

Some types also print this through the binding's native string conversion; this method is the spelling every object type has.

The layout is meant for reading and can change between releases. Use the JSON or BCS conversions for output that gets parsed.

string ToDisplayString()

Returns​

String