Skip to main content

IObjectDigest

Namespace: IotaSdk

The digest of an Object.

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

Implements IEquatable<ObjectDigest>
Attributes NullableContextAttribute

Methods​

IsAlive()​

Returns whether the digest represents an object that is neither deleted nor wrapped.

bool IsAlive()

Returns​

Boolean

IsDeleted()​

Returns whether the digest represents a deleted object.

bool IsDeleted()

Returns​

Boolean

IsWrapped()​

Returns whether the digest represents an object wrapped in another object.

bool IsWrapped()

Returns​

Boolean

NextLexicographical()​

Returns the next digest in byte-increasing order.

ObjectDigest NextLexicographical()

Returns​

ObjectDigest

NextLexicographicalOpt()​

Returns the next digest in byte-increasing order, or None if the result would overflow.

ObjectDigest? NextLexicographicalOpt()

Returns​

ObjectDigest?

ToBase58()​

string ToBase58()

Returns​

String

ToBcs()​

Convert this type to BCS encoded bytes.

Byte[] ToBcs()

Returns​

Byte[]

Exceptions​

SdkFfiException

ToBytes()​

Byte[] ToBytes()

Returns​

Byte[]

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

ToJson()​

Convert this type to a JSON encoded string.

string ToJson()

Returns​

String

Exceptions​

SdkFfiException