UNPKG

@macalinao/zod-solana

Version:

Zod schemas for Solana types with @solana/kit integration

10 lines (9 loc) 262 B
import * as z from "zod"; //#region src/bps-schema.ts /** * Zod schema for basis points (0-10000) */ const bpsSchema = z.number().int().min(0).max(1e4).describe("Basis points (0-10000)"); //#endregion export { bpsSchema }; //# sourceMappingURL=bps-schema.js.map