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
Properties
Value
An account credential index represented by a byte.
public byte Value { get; init; }
Property Value
Methods
From(string)
Creates an instance from a string representing a byte value.
public static AccountCredentialIndex From(string index)
Parameters
Returns
Exceptions
- ArgumentException
The index could not be parsed as a byte value.