The criterion for the recipient addresses of a Solana transaction.

interface SolAddressCriterion {
    addresses: string[];
    operator: SolAddressCriterionOperator;
    type: "solAddress";
}

Properties

addresses: string[]

The Solana addresses that are compared to the list of addresses in the transaction's accountKeys (for legacy transactions) or staticAccountKeys (for V0 transactions) array.

The operator to use for the comparison. Each of the addresses in the transaction's accountKeys (for legacy transactions) or staticAccountKeys (for V0 transactions) array will be on the left-hand side of the operator, and the addresses field will be on the right-hand side.

type: "solAddress"

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