A schema for specifying a criterion for the value field of an EVM transaction.

interface EthValueCriterion {
    ethValue: string;
    operator: EthValueCriterionOperator;
    type: "ethValue";
}

Properties

ethValue: string

The amount of ETH, in wei, that the transaction's value field should be compared to.

^[0-9]+$

The operator to use for the comparison. The transaction's value field will be on the left-hand side of the operator, and the ethValue field will be on the right-hand side.

type: "ethValue"

The type of criterion to use. This should be ethValue.