Skip to content
SwapKit is a powerful suite of tools for building blockchain applications.

QuoteRequestSchema

const QuoteRequestSchema: ZodEffects<ZodObject<{ affiliate: ZodOptional<ZodString>; affiliateFee: ZodOptional<ZodEffects<ZodNumber, number, number>>; allowSmartContractReceiver: ZodOptional<ZodBoolean>; allowSmartContractSender: ZodOptional<ZodBoolean>; buyAsset: ZodString; cfBoost: ZodOptional<ZodBoolean>; destinationAddress: ZodOptional<ZodString>; disableSecurityChecks: ZodOptional<ZodBoolean>; includeTx: ZodOptional<ZodBoolean>; providers: ZodOptional<ZodArray<ZodEffects<ZodString, string, string>, "many">>; referrer: ZodOptional<ZodString>; sellAmount: ZodEffects<ZodString, string, string>; sellAsset: ZodString; slippage: ZodOptional<ZodNumber>; sourceAddress: ZodOptional<ZodString>; }, "strip", ZodTypeAny, { affiliate?: string; affiliateFee?: number; allowSmartContractReceiver?: boolean; allowSmartContractSender?: boolean; buyAsset: string; cfBoost?: boolean; destinationAddress?: string; disableSecurityChecks?: boolean; includeTx?: boolean; providers?: string[]; referrer?: string; sellAmount: string; sellAsset: string; slippage?: number; sourceAddress?: string; }, { affiliate?: string; affiliateFee?: number; allowSmartContractReceiver?: boolean; allowSmartContractSender?: boolean; buyAsset: string; cfBoost?: boolean; destinationAddress?: string; disableSecurityChecks?: boolean; includeTx?: boolean; providers?: string[]; referrer?: string; sellAmount: string; sellAsset: string; slippage?: number; sourceAddress?: string; }>, { affiliate?: string; affiliateFee?: number; allowSmartContractReceiver?: boolean; allowSmartContractSender?: boolean; buyAsset: string; cfBoost?: boolean; destinationAddress?: string; disableSecurityChecks?: boolean; includeTx?: boolean; providers?: string[]; referrer?: string; sellAmount: string; sellAsset: string; slippage?: number; sourceAddress?: string; }, { affiliate?: string; affiliateFee?: number; allowSmartContractReceiver?: boolean; allowSmartContractSender?: boolean; buyAsset: string; cfBoost?: boolean; destinationAddress?: string; disableSecurityChecks?: boolean; includeTx?: boolean; providers?: string[]; referrer?: string; sellAmount: string; sellAsset: string; slippage?: number; sourceAddress?: string; }>

Defined in: packages/helpers/src/api/swapkitApi/types.ts:187