Variable SendEvmTransactionCriteriaSchemaConst
SendEvmTransactionCriteriaSchema: ZodArray<
ZodDiscriminatedUnion<
"type",
[
ZodObject<
{
ethValue: ZodString;
operator: ZodEnum<[">", ">=", "<", "<=", "=="]>;
type: ZodLiteral<"ethValue">;
},
"strip",
ZodTypeAny,
{
ethValue: string;
operator: ">"
| ">="
| "<"
| "<="
| "==";
type: "ethValue";
},
{
ethValue: string;
operator: ">"
| ">="
| "<"
| "<="
| "==";
type: "ethValue";
},
>,
ZodObject<
{
addresses: ZodArray<
ZodEffects<ZodString, `0x${string}`, string>,
"many",
>;
operator: ZodEnum<["in", "not in"]>;
type: ZodLiteral<"evmAddress">;
},
"strip",
ZodTypeAny,
{
addresses: `0x${string}`[];
operator: "in"
| "not in";
type: "evmAddress";
},
{ addresses: string[]; operator: "in"
| "not in"; type: "evmAddress" },
>,
ZodObject<
{
networks: ZodArray<ZodEnum<["base", "base-sepolia"]>, "many">;
operator: ZodEnum<["in", "not in"]>;
type: ZodLiteral<"evmNetwork">;
},
"strip",
ZodTypeAny,
{
networks: ("base-sepolia" | "base")[];
operator: "in" | "not in";
type: "evmNetwork";
},
{
networks: ("base-sepolia" | "base")[];
operator: "in" | "not in";
type: "evmNetwork";
},
>,
ZodObject<
{
abi: ZodUnion<
[
ZodEnum<["erc20", "erc721", "erc1155"]>,
ZodReadonly<ZodArray<ZodUnion<[(...), (...), (...)]>, "many">>,
],
>;
conditions: ZodArray<
ZodObject<
{
function: ZodString;
params: ZodOptional<ZodArray<ZodUnion<(...)>, "many">>;
},
"strip",
ZodTypeAny,
{ function: string; params?: ((...) | (...))[] },
{ function: string; params?: ((...) | (...))[] },
>,
"many",
>;
type: ZodLiteral<"evmData">;
},
"strip",
ZodTypeAny,
{
abi: | "erc20"
| "erc721"
| "erc1155"
| readonly (
| { inputs: readonly AbiParameter[]; name: string; type: "error" }
| {
anonymous?: boolean;
inputs: readonly AbiEventParameter[];
name: string;
type: "event";
}
| (
{ payable?: boolean | undefined; constant?: boolean | undefined; gas?: number | undefined; } & ({ inputs: readonly AbiParameter[]; outputs: readonly AbiParameter[]; type: "function"; name: string; stateMutability: "pure" | ... 2 more ... | "payable"; } | { ...; } | { ...; } | { ...; })
)
)[];
conditions: {
function: string;
params?: (
| { name: ...; operator: ...; values: ... }
| { name: ...; operator: ...; value: ... }
)[];
}[];
type: "evmData";
},
{
abi: "erc20"
| "erc721"
| "erc1155"
| readonly unknown[];
conditions: {
function: string;
params?: (
| { name: ...; operator: ...; values: ... }
| { name: ...; operator: ...; value: ... }
)[];
}[];
type: "evmData";
},
>,
],
>,
"many",
> = ...
Schema for criteria used in SendEvmTransaction operations