Class TransferDirectionFilter
Predicate filter on the type query parameter of the
/api/v1/transactions list endpoint — narrows the
listing to transactions that credit or debit the filtered
account.
Inherited Members
Namespace: Hiero.Mirror.Filters
Assembly: Hiero.dll
Syntax
public sealed class TransferDirectionFilter : IMirrorFilter, IMirrorQueryParameter
Remarks
The two values are the OpenAPI enum credit | debit.
Exposed as static properties (matching the OrderBy
precedent) rather than factories because the value set is
closed and fully known at compile time.
The class name intentionally avoids a literal TypeFilter
— the wire parameter name type is reused on other
endpoints (e.g., /api/v1/tokens, which has
TokenTypeFilter) with entirely different
semantics, so a descriptive class name keeps them straight.
Fields
| Edit this page View SourceCredit
Filter matching transactions whose net effect on the target account is positive (a credit).
Declaration
public static readonly TransferDirectionFilter Credit
Field Value
| Type | Description |
|---|---|
| TransferDirectionFilter |
Debit
Filter matching transactions whose net effect on the target account is negative (a debit).
Declaration
public static readonly TransferDirectionFilter Debit
Field Value
| Type | Description |
|---|---|
| TransferDirectionFilter |
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 |