Table of Contents

Struct AccountCredentialIndex

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

Represents an account credential index.

An account has one or more credentials, each identified by a unique byte-value referred to as its credential index.

public readonly record struct AccountCredentialIndex : IEquatable<AccountCredentialIndex>
Implements
Inherited Members

Constructors

AccountCredentialIndex(byte)

Represents an account credential index.

An account has one or more credentials, each identified by a unique byte-value referred to as its credential index.

public AccountCredentialIndex(byte Value)

Parameters

Value byte

An account credential index represented by a byte.

Properties

Value

An account credential index represented by a byte.

public byte Value { get; init; }

Property Value

byte

Methods

From(string)

Creates an instance from a string representing a byte value.

public static AccountCredentialIndex From(string index)

Parameters

index string

An index represented as a string representing to be parsed as a byte value.

Returns

AccountCredentialIndex

Exceptions

ArgumentException

The index could not be parsed as a byte value.