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

AssetValueSchema

const AssetValueSchema: ZodObject<{ address: ZodOptional<ZodString>; chain: ZodNativeEnum<typeof Chain>; decimal: ZodOptional<ZodNumber>; isGasAsset: ZodBoolean; isSynthetic: ZodBoolean; symbol: ZodString; tax: ZodOptional<ZodObject<{ buy: ZodNumber; sell: ZodNumber; }, "strip", ZodTypeAny, { buy: number; sell: number; }, { buy: number; sell: number; }>>; ticker: ZodString; }, "strip", ZodTypeAny, { address?: string; chain: Chain; decimal?: number; isGasAsset: boolean; isSynthetic: boolean; symbol: string; tax?: { buy: number; sell: number; }; ticker: string; }, { address?: string; chain: Chain; decimal?: number; isGasAsset: boolean; isSynthetic: boolean; symbol: string; tax?: { buy: number; sell: number; }; ticker: string; }>

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