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

RouteLegWithoutAddressesSchema

const RouteLegWithoutAddressesSchema: ZodObject<Omit<{ affiliate: ZodOptional<ZodString>; affiliateFee: ZodOptional<ZodNumber>; buyAsset: ZodString; destinationAddress: ZodString; estimatedTime: ZodOptional<ZodObject<{ inbound: ZodOptional<ZodNumber>; outbound: ZodOptional<ZodNumber>; swap: ZodOptional<ZodNumber>; total: ZodNumber; }, "strip", ZodTypeAny, { inbound?: number; outbound?: number; swap?: number; total: number; }, { inbound?: number; outbound?: number; swap?: number; total: number; }>>; provider: ZodNativeEnum<typeof ProviderName>; sellAsset: ZodString; slipPercentage: ZodNumber; sourceAddress: ZodString; }, "sourceAddress" | "destinationAddress" | "slipPercentage">, "strip", ZodTypeAny, { affiliate?: string; affiliateFee?: number; buyAsset: string; estimatedTime?: { inbound?: number; outbound?: number; swap?: number; total: number; }; provider: ProviderName; sellAsset: string; }, { affiliate?: string; affiliateFee?: number; buyAsset: string; estimatedTime?: { inbound?: number; outbound?: number; swap?: number; total: number; }; provider: ProviderName; sellAsset: string; }>

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