Variable paymentDetailsSchemaConst
paymentDetailsSchema: ZodObject<{
paymentOptions: ZodEffects<ZodUnion<[ZodEffects<ZodEffects<ZodObject<{
chainId: ZodType<1 | 5 | 10 | 42161 | 421613 | 43114 | 43113 | 8453 | 84531 | 56 | 42220 | 100 | 420 | 137 | 80001, ZodTypeDef, 1 | 5 | 10 | 42161 | 421613 | 43114 | 43113 | 8453 | 84531 | 56 | 42220 | 100 | 420 | 137 | 80001>;
flowRate: ZodOptional<ZodEffects<ZodObject<{
amountEther: ZodEffects<ZodString, `${number}`, string>;
period: ZodEnum<["day", "week", "month", "year"]>;
}, "strip", ZodTypeAny, {
amountEther: `${number}`;
period: "day" | "week" | "month" | "year";
}, {
amountEther: string;
period: "day" | "week" | "month" | "year";
}>, {
amountEther: `${number}`;
period: "day" | "week" | "month" | "year";
}, {
amountEther: string;
period: "day" | "week" | "month" | "year";
}>>;
receiverAddress: ZodEffects<ZodString, `0x${string}`, string>;
superToken: ZodObject<{
address: ZodEffects<ZodString, `0x${string}`, string>;
}, "strip", ZodTypeAny, {
address: `0x${string}`;
}, {
address: string;
}>;
transferAmountEther: ZodOptional<ZodEffects<ZodEffects<ZodString, `${number}`, string>, `${number}`, string>>;
userData: ZodOptional<ZodEffects<ZodString, `0x${string}`, string>>;
}, "strip", ZodTypeAny, {
chainId: 1 | 5 | 10 | 42161 | 421613 | 43114 | 43113 | 8453 | 84531 | 56 | 42220 | 100 | 420 | 137 | 80001;
flowRate?: { amountEther: `${number}`; period: "day" | "week" | "month" | "year"; };
receiverAddress: `0x${string}`;
superToken: { address: `0x${string}`; };
transferAmountEther?: `${number}`;
userData?: `0x${string}`;
}, {
chainId: 1 | 5 | 10 | 42161 | 421613 | 43114 | 43113 | 8453 | 84531 | 56 | 42220 | 100 | 420 | 137 | 80001;
flowRate?: { amountEther: string; period: "day" | "week" | "month" | "year"; };
receiverAddress: string;
superToken: { address: string; };
transferAmountEther?: string;
userData?: string;
}>, {
chainId: 1 | 5 | 10 | 42161 | 421613 | 43114 | 43113 | 8453 | 84531 | 56 | 42220 | 100 | 420 | 137 | 80001;
flowRate?: { amountEther: `${number}`; period: "day" | "week" | "month" | "year"; };
receiverAddress: `0x${string}`;
superToken: { address: `0x${string}`; };
transferAmountEther?: `${number}`;
userData?: `0x${string}`;
}, {
chainId: 1 | 5 | 10 | 42161 | 421613 | 43114 | 43113 | 8453 | 84531 | 56 | 42220 | 100 | 420 | 137 | 80001;
flowRate?: { amountEther: string; period: "day" | "week" | "month" | "year"; };
receiverAddress: string;
superToken: { address: string; };
transferAmountEther?: string;
userData?: string;
}>, {
chainId: 1 | 5 | 10 | 42161 | 421613 | 43114 | 43113 | 8453 | 84531 | 56 | 42220 | 100 | 420 | 137 | 80001;
flowRate?: { amountEther: `${number}`; period: "day" | "week" | "month" | "year"; };
receiverAddress: `0x${string}`;
superToken: { address: `0x${string}`; };
transferAmountEther?: `${number}`;
userData?: `0x${string}`;
}[], {
chainId: 1 | 5 | 10 | 42161 | 421613 | 43114 | 43113 | 8453 | 84531 | 56 | 42220 | 100 | 420 | 137 | 80001;
flowRate?: { amountEther: string; period: "day" | "week" | "month" | "year"; };
receiverAddress: string;
superToken: { address: string; };
transferAmountEther?: string;
userData?: string;
}>, ZodArray<ZodEffects<ZodObject<{
chainId: ZodType<1 | 5 | 10 | 42161 | 421613 | 43114 | 43113 | 8453 | 84531 | 56 | 42220 | 100 | 420 | 137 | 80001, ZodTypeDef, 1 | 5 | 10 | 42161 | 421613 | 43114 | 43113 | 8453 | 84531 | 56 | 42220 | 100 | 420 | 137 | 80001>;
flowRate: ZodOptional<ZodEffects<ZodObject<{
amountEther: ZodEffects<ZodString, `${number}`, string>;
period: ZodEnum<["day", "week", "month", "year"]>;
}, "strip", ZodTypeAny, {
amountEther: `${number}`;
period: "day" | "week" | "month" | "year";
}, {
amountEther: string;
period: "day" | "week" | "month" | "year";
}>, {
amountEther: `${number}`;
period: "day" | "week" | "month" | "year";
}, {
amountEther: string;
period: "day" | "week" | "month" | "year";
}>>;
receiverAddress: ZodEffects<ZodString, `0x${string}`, string>;
superToken: ZodObject<{
address: ZodEffects<ZodString, `0x${string}`, string>;
}, "strip", ZodTypeAny, {
address: `0x${string}`;
}, {
address: string;
}>;
transferAmountEther: ZodOptional<ZodEffects<ZodEffects<ZodString, `${number}`, string>, `${number}`, string>>;
userData: ZodOptional<ZodEffects<ZodString, `0x${string}`, string>>;
}, "strip", ZodTypeAny, {
chainId: 1 | 5 | 10 | 42161 | 421613 | 43114 | 43113 | 8453 | 84531 | 56 | 42220 | 100 | 420 | 137 | 80001;
flowRate?: { amountEther: `${number}`; period: "day" | "week" | "month" | "year"; };
receiverAddress: `0x${string}`;
superToken: { address: `0x${string}`; };
transferAmountEther?: `${number}`;
userData?: `0x${string}`;
}, {
chainId: 1 | 5 | 10 | 42161 | 421613 | 43114 | 43113 | 8453 | 84531 | 56 | 42220 | 100 | 420 | 137 | 80001;
flowRate?: { amountEther: string; period: "day" | "week" | "month" | "year"; };
receiverAddress: string;
superToken: { address: string; };
transferAmountEther?: string;
userData?: string;
}>, {
chainId: 1 | 5 | 10 | 42161 | 421613 | 43114 | 43113 | 8453 | 84531 | 56 | 42220 | 100 | 420 | 137 | 80001;
flowRate?: { amountEther: `${number}`; period: "day" | "week" | "month" | "year"; };
receiverAddress: `0x${string}`;
superToken: { address: `0x${string}`; };
transferAmountEther?: `${number}`;
userData?: `0x${string}`;
}, {
chainId: 1 | 5 | 10 | 42161 | 421613 | 43114 | 43113 | 8453 | 84531 | 56 | 42220 | 100 | 420 | 137 | 80001;
flowRate?: { amountEther: string; period: "day" | "week" | "month" | "year"; };
receiverAddress: string;
superToken: { address: string; };
transferAmountEther?: string;
userData?: string;
}>, "many">]>, {
chainId: 1 | 5 | 10 | 42161 | 421613 | 43114 | 43113 | 8453 | 84531 | 56 | 42220 | 100 | 420 | 137 | 80001;
flowRate?: { amountEther: `${number}`; period: "day" | "week" | "month" | "year"; };
receiverAddress: `0x${string}`;
superToken: { address: `0x${string}`; };
transferAmountEther?: `${number}`;
userData?: `0x${string}`;
}[], {
chainId: 1 | 5 | 10 | 42161 | 421613 | 43114 | 43113 | 8453 | 84531 | 56 | 42220 | 100 | 420 | 137 | 80001;
flowRate?: { amountEther: string; period: "day" | "week" | "month" | "year"; };
receiverAddress: string;
superToken: { address: string; };
transferAmountEther?: string;
userData?: string;
} | {
chainId: 1 | 5 | 10 | 42161 | 421613 | 43114 | 43113 | 8453 | 84531 | 56 | 42220 | 100 | 420 | 137 | 80001;
flowRate?: { amountEther: string; period: "day" | "week" | "month" | "year"; };
receiverAddress: string;
superToken: { address: string; };
transferAmountEther?: string;
userData?: string;
}[]>;
}, "strip", ZodTypeAny, {
paymentOptions: ({ chainId: 1 | 5 | 10 | 42161 | 421613 | 43114 | 43113 | 8453 | 84531 | 56 | 42220 | 100 | 420 | 137 | 80001; receiverAddress: `0x${string}`; superToken: { address: `0x${string}`; }; transferAmountEther?: `${number}` | undefined; flowRate?: { ...; } | undefined; userData?: `0x${string}` | undefined; })[];
}, {
paymentOptions: Object;
}> = ...
Type declaration
-
paymentOptions: ZodEffects<ZodUnion<[ZodEffects<ZodEffects<ZodObject<{
chainId: ZodType<1 | 5 | 10 | 42161 | 421613 | 43114 | 43113 | 8453 | 84531 | 56 | 42220 | 100 | 420 | 137 | 80001, ZodTypeDef, 1 | 5 | 10 | 42161 | 421613 | 43114 | 43113 | 8453 | 84531 | 56 | 42220 | 100 | 420 | 137 | 80001>;
flowRate: ZodOptional<ZodEffects<ZodObject<{
amountEther: ZodEffects<ZodString, `${number}`, string>;
period: ZodEnum<["day", "week", "month", "year"]>;
}, "strip", ZodTypeAny, {
amountEther: `${number}`;
period: "day" | "week" | "month" | "year";
}, {
amountEther: string;
period: "day" | "week" | "month" | "year";
}>, {
amountEther: `${number}`;
period: "day" | "week" | "month" | "year";
}, {
amountEther: string;
period: "day" | "week" | "month" | "year";
}>>;
receiverAddress: ZodEffects<ZodString, `0x${string}`, string>;
superToken: ZodObject<{
address: ZodEffects<ZodString, `0x${string}`, string>;
}, "strip", ZodTypeAny, {
address: `0x${string}`;
}, {
address: string;
}>;
transferAmountEther: ZodOptional<ZodEffects<ZodEffects<ZodString, `${number}`, string>, `${number}`, string>>;
userData: ZodOptional<ZodEffects<ZodString, `0x${string}`, string>>;
}, "strip", ZodTypeAny, {
chainId: 1 | 5 | 10 | 42161 | 421613 | 43114 | 43113 | 8453 | 84531 | 56 | 42220 | 100 | 420 | 137 | 80001;
flowRate?: { amountEther: `${number}`; period: "day" | "week" | "month" | "year"; };
receiverAddress: `0x${string}`;
superToken: { address: `0x${string}`; };
transferAmountEther?: `${number}`;
userData?: `0x${string}`;
}, {
chainId: 1 | 5 | 10 | 42161 | 421613 | 43114 | 43113 | 8453 | 84531 | 56 | 42220 | 100 | 420 | 137 | 80001;
flowRate?: { amountEther: string; period: "day" | "week" | "month" | "year"; };
receiverAddress: string;
superToken: { address: string; };
transferAmountEther?: string;
userData?: string;
}>, {
chainId: 1 | 5 | 10 | 42161 | 421613 | 43114 | 43113 | 8453 | 84531 | 56 | 42220 | 100 | 420 | 137 | 80001;
flowRate?: { amountEther: `${number}`; period: "day" | "week" | "month" | "year"; };
receiverAddress: `0x${string}`;
superToken: { address: `0x${string}`; };
transferAmountEther?: `${number}`;
userData?: `0x${string}`;
}, {
chainId: 1 | 5 | 10 | 42161 | 421613 | 43114 | 43113 | 8453 | 84531 | 56 | 42220 | 100 | 420 | 137 | 80001;
flowRate?: { amountEther: string; period: "day" | "week" | "month" | "year"; };
receiverAddress: string;
superToken: { address: string; };
transferAmountEther?: string;
userData?: string;
}>, {
chainId: 1 | 5 | 10 | 42161 | 421613 | 43114 | 43113 | 8453 | 84531 | 56 | 42220 | 100 | 420 | 137 | 80001;
flowRate?: { amountEther: `${number}`; period: "day" | "week" | "month" | "year"; };
receiverAddress: `0x${string}`;
superToken: { address: `0x${string}`; };
transferAmountEther?: `${number}`;
userData?: `0x${string}`;
}[], {
chainId: 1 | 5 | 10 | 42161 | 421613 | 43114 | 43113 | 8453 | 84531 | 56 | 42220 | 100 | 420 | 137 | 80001;
flowRate?: { amountEther: string; period: "day" | "week" | "month" | "year"; };
receiverAddress: string;
superToken: { address: string; };
transferAmountEther?: string;
userData?: string;
}>, ZodArray<ZodEffects<ZodObject<{
chainId: ZodType<1 | 5 | 10 | 42161 | 421613 | 43114 | 43113 | 8453 | 84531 | 56 | 42220 | 100 | 420 | 137 | 80001, ZodTypeDef, 1 | 5 | 10 | 42161 | 421613 | 43114 | 43113 | 8453 | 84531 | 56 | 42220 | 100 | 420 | 137 | 80001>;
flowRate: ZodOptional<ZodEffects<ZodObject<{
amountEther: ZodEffects<ZodString, `${number}`, string>;
period: ZodEnum<["day", "week", "month", "year"]>;
}, "strip", ZodTypeAny, {
amountEther: `${number}`;
period: "day" | "week" | "month" | "year";
}, {
amountEther: string;
period: "day" | "week" | "month" | "year";
}>, {
amountEther: `${number}`;
period: "day" | "week" | "month" | "year";
}, {
amountEther: string;
period: "day" | "week" | "month" | "year";
}>>;
receiverAddress: ZodEffects<ZodString, `0x${string}`, string>;
superToken: ZodObject<{
address: ZodEffects<ZodString, `0x${string}`, string>;
}, "strip", ZodTypeAny, {
address: `0x${string}`;
}, {
address: string;
}>;
transferAmountEther: ZodOptional<ZodEffects<ZodEffects<ZodString, `${number}`, string>, `${number}`, string>>;
userData: ZodOptional<ZodEffects<ZodString, `0x${string}`, string>>;
}, "strip", ZodTypeAny, {
chainId: 1 | 5 | 10 | 42161 | 421613 | 43114 | 43113 | 8453 | 84531 | 56 | 42220 | 100 | 420 | 137 | 80001;
flowRate?: { amountEther: `${number}`; period: "day" | "week" | "month" | "year"; };
receiverAddress: `0x${string}`;
superToken: { address: `0x${string}`; };
transferAmountEther?: `${number}`;
userData?: `0x${string}`;
}, {
chainId: 1 | 5 | 10 | 42161 | 421613 | 43114 | 43113 | 8453 | 84531 | 56 | 42220 | 100 | 420 | 137 | 80001;
flowRate?: { amountEther: string; period: "day" | "week" | "month" | "year"; };
receiverAddress: string;
superToken: { address: string; };
transferAmountEther?: string;
userData?: string;
}>, {
chainId: 1 | 5 | 10 | 42161 | 421613 | 43114 | 43113 | 8453 | 84531 | 56 | 42220 | 100 | 420 | 137 | 80001;
flowRate?: { amountEther: `${number}`; period: "day" | "week" | "month" | "year"; };
receiverAddress: `0x${string}`;
superToken: { address: `0x${string}`; };
transferAmountEther?: `${number}`;
userData?: `0x${string}`;
}, {
chainId: 1 | 5 | 10 | 42161 | 421613 | 43114 | 43113 | 8453 | 84531 | 56 | 42220 | 100 | 420 | 137 | 80001;
flowRate?: { amountEther: string; period: "day" | "week" | "month" | "year"; };
receiverAddress: string;
superToken: { address: string; };
transferAmountEther?: string;
userData?: string;
}>, "many">]>, {
chainId: 1 | 5 | 10 | 42161 | 421613 | 43114 | 43113 | 8453 | 84531 | 56 | 42220 | 100 | 420 | 137 | 80001;
flowRate?: { amountEther: `${number}`; period: "day" | "week" | "month" | "year"; };
receiverAddress: `0x${string}`;
superToken: { address: `0x${string}`; };
transferAmountEther?: `${number}`;
userData?: `0x${string}`;
}[], {
chainId: 1 | 5 | 10 | 42161 | 421613 | 43114 | 43113 | 8453 | 84531 | 56 | 42220 | 100 | 420 | 137 | 80001;
flowRate?: { amountEther: string; period: "day" | "week" | "month" | "year"; };
receiverAddress: string;
superToken: { address: string; };
transferAmountEther?: string;
userData?: string;
} | {
chainId: 1 | 5 | 10 | 42161 | 421613 | 43114 | 43113 | 8453 | 84531 | 56 | 42220 | 100 | 420 | 137 | 80001;
flowRate?: { amountEther: string; period: "day" | "week" | "month" | "year"; };
receiverAddress: string;
superToken: { address: string; };
transferAmountEther?: string;
userData?: string;
}[]>
Type declaration
-
paymentOptions: ({ chainId: 1 | 5 | 10 | 42161 | 421613 | 43114 | 43113 | 8453 | 84531 | 56 | 42220 | 100 | 420 | 137 | 80001; receiverAddress: `0x${string}`; superToken: { address: `0x${string}`; }; transferAmountEther?: `${number}` | undefined; flowRate?: { ...; } | undefined; userData?: `0x${string}` | undefined; })[]