Class ContractLogIndexFilter
Predicate filter on the index query parameter of the two
contract-log list endpoints —
/api/v1/contracts/results/logs and
/api/v1/contracts/{contractIdOrAddress}/results/logs.
Narrows results to contract-log entries at a specific block-local
position (or to a comparison range thereof). Construct via one of
the static factories — the ctor is private so the operator is
always explicit at the call site.
Inheritance
ContractLogIndexFilter
Assembly: Hiero.dll
Syntax
public sealed class ContractLogIndexFilter : IMirrorFilter, IMirrorQueryParameter
Properties
|
Edit this page
View Source
Name
The query parameter name recognized by the remote mirror node.
Declaration
public string Name { get; }
Property Value
|
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
Methods
|
Edit this page
View Source
After(int)
Log entries whose index is strictly greater than the given
value (gt:).
Declaration
public static ContractLogIndexFilter After(int index)
Parameters
| Type |
Name |
Description |
| int |
index |
|
Returns
|
Edit this page
View Source
Before(int)
Log entries whose index is strictly less than the given value
(lt:).
Declaration
public static ContractLogIndexFilter Before(int index)
Parameters
| Type |
Name |
Description |
| int |
index |
|
Returns
|
Edit this page
View Source
Is(int)
Log entries whose index equals the given value.
Declaration
public static ContractLogIndexFilter Is(int index)
Parameters
| Type |
Name |
Description |
| int |
index |
|
Returns
|
Edit this page
View Source
OnOrAfter(int)
Log entries whose index is at or greater than the given value
(gte:).
Declaration
public static ContractLogIndexFilter OnOrAfter(int index)
Parameters
| Type |
Name |
Description |
| int |
index |
|
Returns
|
Edit this page
View Source
OnOrBefore(int)
Log entries whose index is at or less than the given value
(lte:).
Declaration
public static ContractLogIndexFilter OnOrBefore(int index)
Parameters
| Type |
Name |
Description |
| int |
index |
|
Returns
Implements