Interface Criteria

Object representation of a Criteria struct used in event actions.

Criteria

interface Criteria {
    filterType: FilterType;
    fieldType: PrimitiveType;
    fieldIndex: number;
    filterData: `0x${string}`;
}

Properties

filterType: FilterType

The filter type used in this criteria.

fieldType: PrimitiveType

The primitive type of the field being filtered.

fieldIndex: number

The index in the logs argument array where the field is located.

filterData: `0x${string}`

The filter data used for complex filtering.