Show / Hide Table of Contents

Class BlockNodeStatus

The basic status of a block node: the span of blocks it can serve.

Inheritance
object
BlockNodeStatus
Implements
IEquatable<BlockNodeStatus>
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Hiero.BlockNode
Assembly: Hiero.dll
Syntax
[Experimental("HIERO001", UrlFormat = "https://github.com/bugbytesinc/Hiero/blob/main/docs/blocknode-client-plan.md")]
public sealed record BlockNodeStatus : IEquatable<BlockNodeStatus>
Remarks

Not every block node holds full history — check FirstAvailableBlockNumber before requesting historical blocks or subscribing from a historical starting point.

Properties

| Edit this page View Source

FirstAvailableBlockNumber

The earliest block number this node can serve.

Declaration
public ulong FirstAvailableBlockNumber { get; }
Property Value
Type Description
ulong
| Edit this page View Source

LastAvailableBlockNumber

The latest block number this node can serve, or MaxValue when the node is newly installed or backfilling its history and its range is not contiguous — in which case GetServerStatusDetailAsync(CancellationToken, Action<IBlockNodeContext>?) reports the actual available ranges.

Declaration
public ulong LastAvailableBlockNumber { get; }
Property Value
Type Description
ulong
| Edit this page View Source

OnlyLatestState

True when the node retains only the latest state snapshot rather than historical state.

Declaration
public bool OnlyLatestState { get; }
Property Value
Type Description
bool

Implements

IEquatable<T>
  • Edit this page
  • View Source
In this article
Back to top .NET Client Library for Hiero Network and Hedera Hashgraph