Skip to main content

SDKOptionsSchema variable

Signature:

SDKOptionsSchema: z.ZodDefault<
z.ZodObject<
{
readonlySettings: z.ZodOptional<
z.ZodObject<
{
rpcUrl: z.ZodString;
chainId: z.ZodOptional<z.ZodNumber>;
},
"strip",
z.ZodTypeAny,
{
chainId?: number | undefined;
rpcUrl: string;
},
{
chainId?: number | undefined;
rpcUrl: string;
}
>
>;
gasSettings: z.ZodDefault<
z.ZodObject<
{
maxPriceInGwei: z.ZodDefault<z.ZodNumber>;
speed: z.ZodDefault<z.ZodEnum<["standard", "fast", "fastest"]>>;
},
"strip",
z.ZodTypeAny,
{
maxPriceInGwei: number;
speed: "standard" | "fast" | "fastest";
},
{
maxPriceInGwei?: number | undefined;
speed?: "standard" | "fast" | "fastest" | undefined;
}
>
>;
gasless: z.ZodOptional<
z.ZodUnion<
[
z.ZodObject<
{
openzeppelin: z.ZodObject<
{
relayerUrl: z.ZodString;
relayerForwarderAddress: z.ZodOptional<z.ZodString>;
useEOAForwarder: z.ZodDefault<z.ZodBoolean>;
},
"strip",
z.ZodTypeAny,
{
relayerForwarderAddress?: string | undefined;
relayerUrl: string;
useEOAForwarder: boolean;
},
{
relayerForwarderAddress?: string | undefined;
useEOAForwarder?: boolean | undefined;
relayerUrl: string;
}
>;
experimentalChainlessSupport: z.ZodDefault<z.ZodBoolean>;
},
"strip",
z.ZodTypeAny,
{
openzeppelin: {
relayerForwarderAddress?: string | undefined;
relayerUrl: string;
useEOAForwarder: boolean;
};
experimentalChainlessSupport: boolean;
},
{
experimentalChainlessSupport?: boolean | undefined;
openzeppelin: {
relayerForwarderAddress?: string | undefined;
useEOAForwarder?: boolean | undefined;
relayerUrl: string;
};
}
>,
z.ZodObject<
{
biconomy: z.ZodObject<
{
apiId: z.ZodString;
apiKey: z.ZodString;
deadlineSeconds: z.ZodDefault<z.ZodNumber>;
},
"strip",
z.ZodTypeAny,
{
apiId: string;
apiKey: string;
deadlineSeconds: number;
},
{
deadlineSeconds?: number | undefined;
apiId: string;
apiKey: string;
}
>;
},
"strip",
z.ZodTypeAny,
{
biconomy: {
apiId: string;
apiKey: string;
deadlineSeconds: number;
};
},
{
biconomy: {
deadlineSeconds?: number | undefined;
apiId: string;
apiKey: string;
};
}
>,
]
>
>;
},
"strip",
z.ZodTypeAny,
{
readonlySettings?:
| {
chainId?: number | undefined;
rpcUrl: string;
}
| undefined;
gasless?:
| {
openzeppelin: {
relayerForwarderAddress?: string | undefined;
relayerUrl: string;
useEOAForwarder: boolean;
};
experimentalChainlessSupport: boolean;
}
| {
biconomy: {
apiId: string;
apiKey: string;
deadlineSeconds: number;
};
}
| undefined;
gasSettings: {
maxPriceInGwei: number;
speed: "standard" | "fast" | "fastest";
};
},
{
readonlySettings?:
| {
chainId?: number | undefined;
rpcUrl: string;
}
| undefined;
gasSettings?:
| {
maxPriceInGwei?: number | undefined;
speed?: "standard" | "fast" | "fastest" | undefined;
}
| undefined;
gasless?:
| {
experimentalChainlessSupport?: boolean | undefined;
openzeppelin: {
relayerForwarderAddress?: string | undefined;
useEOAForwarder?: boolean | undefined;
relayerUrl: string;
};
}
| {
biconomy: {
deadlineSeconds?: number | undefined;
apiId: string;
apiKey: string;
};
}
| undefined;
}
>
>;