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.
Inherited Members
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
(0.0.101 for consensus nodes, 0.0.102 for the
gossip-node listing), so a comparison palette would be
superfluous even if the wire schema allowed it.
Properties
| Edit this page View SourceName
The query parameter name recognized by the remote mirror node.
Declaration
public string Name { get; }
Property Value
| Type | Description |
|---|---|
| string |
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 SourceIs(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 |