Show / Hide Table of Contents

Class TimestampFilter

Predicate filter on the consensus timestamp of a mirror node record. Construct via one of the static factories — the ctor is private so the operator is always explicit in the call site.

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

Mirror REST accepts six comparison forms on the timestamp query parameter: equality (default), gt:, gte:, lt:, lte:, and ne:. Each factory builds the corresponding wire value.

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

Records whose consensus timestamp is strictly after the given instant (gt:).

Declaration
public static TimestampFilter After(ConsensusTimeStamp timestamp)
Parameters
Type Name Description
ConsensusTimeStamp timestamp
Returns
Type Description
TimestampFilter
| Edit this page View Source

Before(ConsensusTimeStamp)

Records whose consensus timestamp is strictly before the given instant (lt:).

Declaration
public static TimestampFilter Before(ConsensusTimeStamp timestamp)
Parameters
Type Name Description
ConsensusTimeStamp timestamp
Returns
Type Description
TimestampFilter
| Edit this page View Source

Is(ConsensusTimeStamp)

Records whose consensus timestamp equals the given instant.

Declaration
public static TimestampFilter Is(ConsensusTimeStamp timestamp)
Parameters
Type Name Description
ConsensusTimeStamp timestamp
Returns
Type Description
TimestampFilter
| Edit this page View Source

NotIs(ConsensusTimeStamp)

Records whose consensus timestamp is not equal to the given instant (ne:).

Declaration
public static TimestampFilter NotIs(ConsensusTimeStamp timestamp)
Parameters
Type Name Description
ConsensusTimeStamp timestamp
Returns
Type Description
TimestampFilter
| Edit this page View Source

OnOrAfter(ConsensusTimeStamp)

Records whose consensus timestamp is at or after the given instant (gte:).

Declaration
public static TimestampFilter OnOrAfter(ConsensusTimeStamp timestamp)
Parameters
Type Name Description
ConsensusTimeStamp timestamp
Returns
Type Description
TimestampFilter
| Edit this page View Source

OnOrBefore(ConsensusTimeStamp)

Records whose consensus timestamp is at or before the given instant (lte:).

Declaration
public static TimestampFilter OnOrBefore(ConsensusTimeStamp timestamp)
Parameters
Type Name Description
ConsensusTimeStamp timestamp
Returns
Type Description
TimestampFilter

Implements

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