UNPKG

ox

Version:

Ethereum Standard Library

8 lines 620 B
import * as z from 'zod/mini'; /** Byte array schema encoded as hex. */ export declare const Bytes: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniCustom<Uint8Array, Uint8Array>>; /** Returns a byte-sized byte array schema encoded as hex. */ export declare function sizedBytes(size: number): z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniCustom<Uint8Array, Uint8Array>>; /** 32-byte byte array schema encoded as hex. */ export declare const Bytes32: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniCustom<Uint8Array, Uint8Array>>; //# sourceMappingURL=Bytes.d.ts.map