Class SpenderFilter
Predicate filter on the spender.id query parameter.
Construct via one of the static factories — the ctor is
private so the operator is always explicit at the call site.
Inherited Members
Namespace: Hiero.Mirror.Filters
Assembly: Hiero.dll
Syntax
public sealed class SpenderFilter : IMirrorFilter, IMirrorQueryParameter
Remarks
Mirror REST's EntityIdQuery schema accepts the six
comparison forms — equality (default), gt:,
gte:, lt:, lte:, and ne: — on
the spender.id query parameter. Each factory builds
the corresponding wire value.
Some endpoints restrict which operators they will honor at
the server level — for example,
/api/v1/accounts/{id}/nfts rejects ne:. See the
per-endpoint OpenAPI documentation for the exact constraints;
the filter itself does not enforce them.
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 — already includes the operator prefix where applicable.
Declaration
public string Value { get; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
| Edit this page View SourceAfter(EntityId)
Records whose spender.id is strictly greater than
the given account (gt:).
Declaration
public static SpenderFilter After(EntityId spender)
Parameters
| Type | Name | Description |
|---|---|---|
| EntityId | spender | The spender account to filter by. |
Returns
| Type | Description |
|---|---|
| SpenderFilter |
Before(EntityId)
Records whose spender.id is strictly less than the
given account (lt:).
Declaration
public static SpenderFilter Before(EntityId spender)
Parameters
| Type | Name | Description |
|---|---|---|
| EntityId | spender | The spender account to filter by. |
Returns
| Type | Description |
|---|---|
| SpenderFilter |
Is(EntityId)
Records whose spender.id equals the given account.
Declaration
public static SpenderFilter Is(EntityId spender)
Parameters
| Type | Name | Description |
|---|---|---|
| EntityId | spender | The spender account to filter by. |
Returns
| Type | Description |
|---|---|
| SpenderFilter |
NotIs(EntityId)
Records whose spender.id is not equal to the given
account (ne:).
Declaration
public static SpenderFilter NotIs(EntityId spender)
Parameters
| Type | Name | Description |
|---|---|---|
| EntityId | spender | The spender account to filter by. |
Returns
| Type | Description |
|---|---|
| SpenderFilter |
OnOrAfter(EntityId)
Records whose spender.id is at or greater than the
given account (gte:).
Declaration
public static SpenderFilter OnOrAfter(EntityId spender)
Parameters
| Type | Name | Description |
|---|---|---|
| EntityId | spender | The spender account to filter by. |
Returns
| Type | Description |
|---|---|
| SpenderFilter |
OnOrBefore(EntityId)
Records whose spender.id is at or less than the given
account (lte:).
Declaration
public static SpenderFilter OnOrBefore(EntityId spender)
Parameters
| Type | Name | Description |
|---|---|---|
| EntityId | spender | The spender account to filter by. |
Returns
| Type | Description |
|---|---|
| SpenderFilter |