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
ulongHeight starting from the genesis block at the genesis index.
GenesisIndex
uintGenesis index to start from.
Restrict
boolWhether 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
Height
Height starting from the genesis block at the genesis index.
public ulong Height { get; init; }
Property Value
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; }