Show / Hide Table of Contents

Class ContractActionIndexFilter

Predicate filter on the index position of a contract action within a transaction's ordered call graph. Construct via one of the static factories — the ctor is private so the operator is always explicit in the call site.

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

Mirror REST accepts the six comparison forms — equality (default), gt:, gte:, lt:, lte:, and ne: — on the index query parameter of the contract-actions endpoint (regex ^((gte?|lte?|eq|ne)\:)?\d{1,10}$). Each factory builds the corresponding wire value.

The index wire-name is also accepted on contract-log endpoints, where it refers to a log's block-local position — a separate semantic scope with a different operator palette (the log endpoints reject ne:). For the log-endpoint parallel, see ContractLogIndexFilter.

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

Actions whose index is strictly greater than the given value (gt:).

Declaration
public static ContractActionIndexFilter After(int index)
Parameters
Type Name Description
int index
Returns
Type Description
ContractActionIndexFilter
| Edit this page View Source

Before(int)

Actions whose index is strictly less than the given value (lt:).

Declaration
public static ContractActionIndexFilter Before(int index)
Parameters
Type Name Description
int index
Returns
Type Description
ContractActionIndexFilter
| Edit this page View Source

Is(int)

Actions whose index equals the given value.

Declaration
public static ContractActionIndexFilter Is(int index)
Parameters
Type Name Description
int index
Returns
Type Description
ContractActionIndexFilter
| Edit this page View Source

NotIs(int)

Actions whose index is not equal to the given value (ne:).

Declaration
public static ContractActionIndexFilter NotIs(int index)
Parameters
Type Name Description
int index
Returns
Type Description
ContractActionIndexFilter
| Edit this page View Source

OnOrAfter(int)

Actions whose index is at or greater than the given value (gte:).

Declaration
public static ContractActionIndexFilter OnOrAfter(int index)
Parameters
Type Name Description
int index
Returns
Type Description
ContractActionIndexFilter
| Edit this page View Source

OnOrBefore(int)

Actions whose index is at or less than the given value (lte:).

Declaration
public static ContractActionIndexFilter OnOrBefore(int index)
Parameters
Type Name Description
int index
Returns
Type Description
ContractActionIndexFilter

Implements

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