Show / Hide Table of Contents

Class FileFilter

Predicate filter on the file.id query parameter of the /api/v1/network/nodes endpoint — filters the consensus-node listing to nodes registered in a specific address-book file (typically 0.0.101 or 0.0.102). Construct via Is(EntityId); the ctor is private.

Inheritance
object
FileFilter
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 FileFilter : IMirrorFilter, IMirrorQueryParameter
Remarks

Unlike the comparison-operator filters in this namespace, file.id accepts only an equality match on the wire — the mirror-node schema for /api/v1/network/nodes exposes no comparison-operator palette on this parameter. Only an Is(EntityId) factory is provided; there is no After / Before / NotIs counterpart. In practice the live network's address book contains just the two files, and both describe the same consensus nodes: 0.0.101 carries only each node's id, account, TLS certificate hash and service endpoints, while 0.0.102 carries every field, adding the node's RSA public key and description. They differ in which per-node fields are filled in, not in which nodes they list, so a comparison palette would be superfluous even if the wire schema allowed it.

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.

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

Methods

| Edit this page View Source

Is(EntityId)

Records whose file.id equals the given entity.

Declaration
public static FileFilter Is(EntityId file)
Parameters
Type Name Description
EntityId file

The address-book file entity to filter by.

Returns
Type Description
FileFilter

Implements

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