Skip to main content

TransactionDigest

Namespace: IotaSdk

The digest of a Transaction.

public class TransactionDigest : ITransactionDigest, System.IEquatable`1[[IotaSdk.TransactionDigest, IotaSdk, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.IDisposable

Inheritance Object → TransactionDigest
Implements ITransactionDigest, IEquatable<TransactionDigest>, IDisposable
Attributes NullableContextAttribute, NullableAttribute

Constructors​

TransactionDigest(UInt64)​

public TransactionDigest(ulong pointer)

Parameters​

pointer UInt64

Methods​

Destroy()​

public void Destroy()

Dispose()​

public void Dispose()

NextLexicographical()​

Returns the next digest in byte-increasing order.

public TransactionDigest NextLexicographical()

Returns​

TransactionDigest

NextLexicographicalOpt()​

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

public TransactionDigest? NextLexicographicalOpt()

Returns​

TransactionDigest?

ToBase58()​

public string ToBase58()

Returns​

String

ToBytes()​

public Byte[] ToBytes()

Returns​

Byte[]

ToString()​

public override string ToString()

Returns​

String

Equals(TransactionDigest)​

public bool Equals(TransactionDigest? other)

Parameters​

other TransactionDigest?

Returns​

Boolean

Equals(Object)​

public override bool Equals(object? obj)

Parameters​

obj Object?

Returns​

Boolean

GetHashCode()​

public override int GetHashCode()

Returns​

Int32

FromBase58(String)​

public static TransactionDigest FromBase58(string base58)

Parameters​

base58 String

Returns​

TransactionDigest

Exceptions​

SdkFfiException

FromBytes(Byte[])​

public static TransactionDigest FromBytes(Byte[] bytes)

Parameters​

bytes Byte[]

Returns​

TransactionDigest

Exceptions​

SdkFfiException

GenesisMarker()​

The digest used to signify the parent transaction was the genesis.

public static TransactionDigest GenesisMarker()

Returns​

TransactionDigest

Random()​

public static TransactionDigest Random()

Returns​

TransactionDigest