UNPKG

ox

Version:

Ethereum Standard Library

16 lines 1.25 kB
import * as z from 'zod/mini'; /** RPC withdrawal schema decoded to a withdrawal. */ export declare const Withdrawal: z.ZodMiniObject<{ address: z.ZodMiniTemplateLiteral<`0x${string}`>; amount: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>; index: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumberFormat>; validatorIndex: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumberFormat>; }, z.core.$strip>; /** Encode-only withdrawal schema accepting numberish `toRpc` inputs. */ export declare const WithdrawalToRpc: z.ZodMiniObject<{ address: z.ZodMiniTemplateLiteral<`0x${string}`>; amount: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>, z.ZodMiniNumberFormat]>>; index: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumberFormat]>>; validatorIndex: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniNumberFormat]>>; }, z.core.$strip>; //# sourceMappingURL=Withdrawal.d.ts.map