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.
Inherited Members
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 SourceName
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 |
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 SourceIs(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 |