Show / Hide Table of Contents

Class NodeFilter

Predicate filter on the node.id query parameter of the /api/v1/network/nodes endpoint. Construct via one of the static factories — the ctor is private so the operator is always explicit at the call site.

Inheritance
object
NodeFilter
Implements
IMirrorFilter
IMirrorQueryParameter
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Hiero.Mirror.Filters
Assembly: Hiero.dll
Syntax
public sealed class NodeFilter : IMirrorFilter, IMirrorQueryParameter
Remarks

The node.id value is the node's 0-based index (see NodeId), not the node_account_id (e.g., 0.0.3).

Unlike the other comparison-operator filters in this namespace, node.id accepts only five operators on the wire — equality (default), gt:, gte:, lt:, and lte:. The mirror-node schema explicitly excludes ne:, so no NotIs factory is exposed.

Properties

| Edit this page View Source

Name

The query parameter name recognized by the remote mirror node.

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

Value

The value of the query parameter sent to the mirror node — already includes the operator prefix where applicable.

Declaration
public string Value { get; }
Property Value
Type Description
string

Methods

| Edit this page View Source

After(ulong)

Records whose node id is strictly greater than the given value (gt:).

Declaration
public static NodeFilter After(ulong nodeId)
Parameters
Type Name Description
ulong nodeId
Returns
Type Description
NodeFilter
| Edit this page View Source

Before(ulong)

Records whose node id is strictly less than the given value (lt:).

Declaration
public static NodeFilter Before(ulong nodeId)
Parameters
Type Name Description
ulong nodeId
Returns
Type Description
NodeFilter
| Edit this page View Source

Is(ulong)

Records whose node id equals the given value.

Declaration
public static NodeFilter Is(ulong nodeId)
Parameters
Type Name Description
ulong nodeId
Returns
Type Description
NodeFilter
| Edit this page View Source

OnOrAfter(ulong)

Records whose node id is at or greater than the given value (gte:).

Declaration
public static NodeFilter OnOrAfter(ulong nodeId)
Parameters
Type Name Description
ulong nodeId
Returns
Type Description
NodeFilter
| Edit this page View Source

OnOrBefore(ulong)

Records whose node id is at or less than the given value (lte:).

Declaration
public static NodeFilter OnOrBefore(ulong nodeId)
Parameters
Type Name Description
ulong nodeId
Returns
Type Description
NodeFilter

Implements

IMirrorFilter
IMirrorQueryParameter
  • Edit this page
  • View Source
In this article
Back to top .NET Client Library for Hiero Network and Hedera Hashgraph