UNPKG

ox

Version:

Ethereum Standard Library

35 lines 2.5 kB
import * as z from 'zod/mini'; /** RPC fee history schema decoded to a fee history. */ export declare const FeeHistory: z.ZodMiniObject<{ baseFeePerGas: z.ZodMiniArray<z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>>; gasUsedRatio: z.ZodMiniArray<z.ZodMiniNumber<number>>; oldestBlock: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>; reward: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniArray<z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>>>>; }, z.core.$strip>; /** Legacy RPC fee values schema decoded to legacy fee values. */ export declare const FeeValuesLegacy: z.ZodMiniObject<{ gasPrice: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>; }, z.core.$strip>; /** EIP-1559 RPC fee values schema decoded to EIP-1559 fee values. */ export declare const FeeValuesEip1559: z.ZodMiniObject<{ maxFeePerGas: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>; maxPriorityFeePerGas: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>; }, z.core.$strip>; /** EIP-4844 RPC fee values schema decoded to EIP-4844 fee values. */ export declare const FeeValuesEip4844: z.ZodMiniObject<{ maxFeePerBlobGas: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>; maxFeePerGas: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>; maxPriorityFeePerGas: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>; }, z.core.$strip>; /** RPC fee values schema decoded to fee values. */ export declare const FeeValues: z.ZodMiniUnion<readonly [z.ZodMiniObject<{ maxFeePerBlobGas: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>; maxFeePerGas: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>; maxPriorityFeePerGas: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>; }, z.core.$strip>, z.ZodMiniObject<{ maxFeePerGas: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>; maxPriorityFeePerGas: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>; }, z.core.$strip>, z.ZodMiniObject<{ gasPrice: z.ZodMiniCodec<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>>; }, z.core.$strip>]>; //# sourceMappingURL=Fee.d.ts.map