Show / Hide Table of Contents

Class EvmTopicFilter

Predicate filter on an EVM event-log topic position (topic0 … topic3) on the contract-logs endpoints. Construct via Is(int, BigInteger); the ctor is private.

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

"Topic" here is the Ethereum event-log topic (one of up to four indexed parameters of an emitted event), not an HCS topic id. Each factory call produces one filter bound to a specific index slot (0–3) — pass multiple instances with different indices to constrain more than one topic.

Properties

| Edit this page View Source

Name

The query parameter name recognized by the remote mirror node — topic0 through topic3 depending on index.

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.

Declaration
public string Value { get; }
Property Value
Type Description
string

Methods

| Edit this page View Source

Is(int, BigInteger)

Records whose EVM event-log topic at position index equals the given value.

Declaration
public static EvmTopicFilter Is(int index, BigInteger topic)
Parameters
Type Name Description
int index

The topic slot, 0 through 3 inclusive.

BigInteger topic

The topic value (padded to 32 bytes on the wire).

Returns
Type Description
EvmTopicFilter
Exceptions
Type Condition
ArgumentOutOfRangeException

Thrown when index is outside the 0–3 range.

Implements

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