Show / Hide Table of Contents

Class AccountBalanceFilter

Predicate filter on the account.balance query parameter used by the account-list and balance-snapshot endpoints. Construct via one of the static factories — the ctor is private so the operator is always explicit at the call site.

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

The wire parameter takes a tinybar balance threshold with an optional comparison-operator prefix. OpenAPI pattern ^((gte?|lte?|eq|ne)\:)?\d{1,10}$ admits all six operators; each factory builds the corresponding wire value.

Despite the dotted account.balance name this is a predicate filter, not a projection — it narrows which accounts are returned. The distinct BalanceProjectionFilter covers the separate balance wire param, which is the projection toggle for whether the response payload includes the balance subtree.

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(long)

Records whose balance is strictly greater than the given tinybar value (gt:).

Declaration
public static AccountBalanceFilter After(long tinybars)
Parameters
Type Name Description
long tinybars
Returns
Type Description
AccountBalanceFilter
| Edit this page View Source

Before(long)

Records whose balance is strictly less than the given tinybar value (lt:).

Declaration
public static AccountBalanceFilter Before(long tinybars)
Parameters
Type Name Description
long tinybars
Returns
Type Description
AccountBalanceFilter
| Edit this page View Source

Is(long)

Records whose balance equals the given tinybar value.

Declaration
public static AccountBalanceFilter Is(long tinybars)
Parameters
Type Name Description
long tinybars
Returns
Type Description
AccountBalanceFilter
| Edit this page View Source

NotIs(long)

Records whose balance is not equal to the given tinybar value (ne:).

Declaration
public static AccountBalanceFilter NotIs(long tinybars)
Parameters
Type Name Description
long tinybars
Returns
Type Description
AccountBalanceFilter
| Edit this page View Source

OnOrAfter(long)

Records whose balance is at or greater than the given tinybar value (gte:).

Declaration
public static AccountBalanceFilter OnOrAfter(long tinybars)
Parameters
Type Name Description
long tinybars
Returns
Type Description
AccountBalanceFilter
| Edit this page View Source

OnOrBefore(long)

Records whose balance is at or less than the given tinybar value (lte:).

Declaration
public static AccountBalanceFilter OnOrBefore(long tinybars)
Parameters
Type Name Description
long tinybars
Returns
Type Description
AccountBalanceFilter

Implements

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