Docs

SDKOptionsSchema

let SDKOptionsSchema: ZodDefault<ZodObject<{ clientId: ZodOptional<ZodString>; gasSettings: ZodDefault<ZodObject<{ maxPriceInGwei: ZodDefault<ZodNumber>; speed: ZodDefault<ZodEnum<["standard", "fast", "fastest"]>> }, "strip", ZodTypeAny, { maxPriceInGwei: number; speed: "standard" | "fast" | "fastest" }, { maxPriceInGwei?: number; speed?: "standard" | "fast" | "fastest" }>>; gasless: ZodOptional<ZodUnion<[ZodObject<{ experimentalChainlessSupport: ZodDefault<ZodBoolean>; openzeppelin: ZodObject<{ domainName: ZodDefault<...>; domainSeparatorVersion: ZodDefault<...>; domainVersion: ZodDefault<...>; relayerForwarderAddress: ZodOptional<...>; relayerUrl: ZodString; useEOAForwarder: ZodDefault<...> }, "strip", ZodTypeAny, { domainName: string; domainSeparatorVersion: string; domainVersion: string; relayerForwarderAddress?: (...) | (...); relayerUrl: string; useEOAForwarder: boolean }, { domainName?: (...) | (...); domainSeparatorVersion?: (...) | (...); domainVersion?: (...) | (...); relayerForwarderAddress?: (...) | (...); relayerUrl: string; useEOAForwarder?: (...) | (...) | (...) }> }, "strip", ZodTypeAny, { experimentalChainlessSupport: boolean; openzeppelin: { domainName: string; domainSeparatorVersion: string; domainVersion: string; relayerForwarderAddress?: string; relayerUrl: string; useEOAForwarder: boolean } }, { experimentalChainlessSupport?: boolean; openzeppelin: { domainName?: string; domainSeparatorVersion?: string; domainVersion?: string; relayerForwarderAddress?: string; relayerUrl: string; useEOAForwarder?: boolean } }>, ZodObject<{ biconomy: ZodObject<{ apiId: ZodString; apiKey: ZodString; deadlineSeconds: ZodDefault<...> }, "strip", ZodTypeAny, { apiId: string; apiKey: string; deadlineSeconds: number }, { apiId: string; apiKey: string; deadlineSeconds?: (...) | (...) }> }, "strip", ZodTypeAny, { biconomy: { apiId: string; apiKey: string; deadlineSeconds: number } }, { biconomy: { apiId: string; apiKey: string; deadlineSeconds?: number } }>, ZodObject<{ engine: ZodObject<{ domainName: ZodDefault<...>; domainSeparatorVersion: ZodDefault<...>; domainVersion: ZodDefault<...>; relayerForwarderAddress: ZodOptional<...>; relayerUrl: ZodEffects<..., ..., ...> }, "strip", ZodTypeAny, { domainName: string; domainSeparatorVersion: string; domainVersion: string; relayerForwarderAddress?: (...) | (...); relayerUrl: string }, { domainName?: (...) | (...); domainSeparatorVersion?: (...) | (...); domainVersion?: (...) | (...); relayerForwarderAddress?: (...) | (...); relayerUrl: string }>; experimentalChainlessSupport: ZodDefault<ZodBoolean> }, "strip", ZodTypeAny, { engine: { domainName: string; domainSeparatorVersion: string; domainVersion: string; relayerForwarderAddress?: string; relayerUrl: string }; experimentalChainlessSupport: boolean }, { engine: { domainName?: string; domainSeparatorVersion?: string; domainVersion?: string; relayerForwarderAddress?: string; relayerUrl: string }; experimentalChainlessSupport?: boolean }>]>>; gatewayUrls: ZodOptional<ZodArray<ZodString, "many">>; readonlySettings: ZodOptional<ZodObject<{ chainId: ZodOptional<ZodNumber>; rpcUrl: ZodString }, "strip", ZodTypeAny, { chainId?: number; rpcUrl: string }, { chainId?: number; rpcUrl: string }>>; rpcBatchSettings: ZodOptional<ZodObject<{ sizeLimit: ZodDefault<ZodNumber>; timeLimit: ZodDefault<ZodNumber> }, "strip", ZodTypeAny, { sizeLimit: number; timeLimit: number }, { sizeLimit?: number; timeLimit?: number }>>; secretKey: ZodOptional<ZodString>; supportedChains: ZodDefault<ZodArray<ZodObject<{ chainId: ZodNumber; nativeCurrency: ZodObject<{ decimals: ZodNumber; name: ZodString; symbol: ZodString }, "strip", ZodTypeAny, { decimals: number; name: string; symbol: string }, { decimals: number; name: string; symbol: string }>; rpc: ZodArray<ZodString, "many">; slug: ZodString }, "strip", ZodTypeAny, { chainId: number; nativeCurrency: { decimals: number; name: string; symbol: string }; rpc: Array<string>; slug: string }, { chainId: number; nativeCurrency: { decimals: number; name: string; symbol: string }; rpc: Array<string>; slug: string }>, "many">> }, "strip", ZodTypeAny, { clientId?: string; gasSettings: { maxPriceInGwei: number; speed: "standard" | "fast" | "fastest" }; gasless?: ({ experimentalChainlessSupport: boolean; openzeppelin: { domainName: string; domainSeparatorVersion: string; domainVersion: string; relayerForwarderAddress?: string; relayerUrl: string; useEOAForwarder: boolean } }) | ({ biconomy: { apiId: string; apiKey: string; deadlineSeconds: number } }) | ({ engine: { domainName: string; domainSeparatorVersion: string; domainVersion: string; relayerForwarderAddress?: string; relayerUrl: string }; experimentalChainlessSupport: boolean }); gatewayUrls?: Array<string>; readonlySettings?: { chainId?: number; rpcUrl: string }; rpcBatchSettings?: { sizeLimit: number; timeLimit: number }; secretKey?: string; supportedChains: Array<{ chainId: number; nativeCurrency: { decimals: number; name: string; symbol: string }; rpc: Array<string>; slug: string }> }, { clientId?: string; gasSettings?: { maxPriceInGwei?: number; speed?: "standard" | "fast" | "fastest" }; gasless?: ({ experimentalChainlessSupport?: boolean; openzeppelin: { domainName?: string; domainSeparatorVersion?: string; domainVersion?: string; relayerForwarderAddress?: string; relayerUrl: string; useEOAForwarder?: boolean } }) | ({ biconomy: { apiId: string; apiKey: string; deadlineSeconds?: number } }) | ({ engine: { domainName?: string; domainSeparatorVersion?: string; domainVersion?: string; relayerForwarderAddress?: string; relayerUrl: string }; experimentalChainlessSupport?: boolean }); gatewayUrls?: Array<string>; readonlySettings?: { chainId?: number; rpcUrl: string }; rpcBatchSettings?: { sizeLimit?: number; timeLimit?: number }; secretKey?: string; supportedChains?: Array<{ chainId: number; nativeCurrency: { decimals: number; name: string; symbol: string }; rpc: Array<string>; slug: string }> }>>