Show / Hide Table of Contents

Class SerialNumberFilter

Predicate filter on the serialnumber query parameter used by the NFT-listing endpoints. Construct via one of the static factories — the ctor is private so the operator is always explicit at the call site.

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

Unlike SequenceNumberFilter, the mirror-node schema for serialnumber accepts only five operators on the wire — equality (default), gt:, gte:, lt:, and lte:. The OpenAPI pattern ^((eq|gt|gte|lt|lte):)?\d{1,19}?$ explicitly excludes ne:, so no NotIs factory is exposed.

Some endpoints also require the filter be paired with a TokenFilter on the same request — see the per-endpoint documentation for constraints.

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 serial number is strictly greater than the given value (gt:).

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

Before(long)

Records whose serial number is strictly less than the given value (lt:).

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

Is(long)

Records whose serial number equals the given value.

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

OnOrAfter(long)

Records whose serial number is at or greater than the given value (gte:).

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

OnOrBefore(long)

Records whose serial number is at or less than the given value (lte:).

Declaration
public static SerialNumberFilter OnOrBefore(long serialNumber)
Parameters
Type Name Description
long serialNumber
Returns
Type Description
SerialNumberFilter

Implements

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