Table of Contents

Class Relative

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

Query relative to an explicit genesis index.

public sealed record Relative : IBlockHashInput, IEquatable<Relative>
Inheritance
Relative
Implements
Inherited Members

Constructors

Relative(ulong, uint, bool)

Query relative to an explicit genesis index.

public Relative(ulong Height, uint GenesisIndex, bool Restrict)

Parameters

Height ulong

Height starting from the genesis block at the genesis index.

GenesisIndex uint

Genesis index to start from.

Restrict bool

Whether to return results only from the specified genesis index (true), or allow results from more recent genesis indices as well (false).

Properties

GenesisIndex

Genesis index to start from.

public uint GenesisIndex { get; init; }

Property Value

uint

Height

Height starting from the genesis block at the genesis index.

public ulong Height { get; init; }

Property Value

ulong

Restrict

Whether to return results only from the specified genesis index (true), or allow results from more recent genesis indices as well (false).

public bool Restrict { get; init; }

Property Value

bool