Table of Contents

Class TransactionHash

Namespace
Concordium.Sdk.Types
Assembly
Concordium.Sdk.dll

Represents a transaction hash.

public sealed record TransactionHash : Hash, IEquatable<Hash>, IEquatable<TransactionHash>
Inheritance
TransactionHash
Implements
Inherited Members

Methods

From(byte[])

Creates an instance from a transaction hash represented by a length-32 byte array.

public static TransactionHash From(byte[] transactionHashAsBytes)

Parameters

transactionHashAsBytes byte[]

The transaction hash represented by a length-32 byte array

Returns

TransactionHash

From(string)

Creates an instance from a transaction hash represented by a length-64 encoded string.

public static TransactionHash From(string transactionHashAsBase16String)

Parameters

transactionHashAsBase16String string

The transaction hash represented by a length-64 encoded string.

Returns

TransactionHash

ToProto()

Converts the transaction hash to its corresponding protocol buffer message instance.

This can be used as the input for class methods of RawClient.

public TransactionHash ToProto()

Returns

TransactionHash