Variable packedUserOperationSchemaConst

packedUserOperationSchema: ZodEffects<
    ZodObject<
        {
            accountGasLimits: ZodEffects<ZodString, `0x${string}`, string>;
            callData: ZodEffects<ZodString, `0x${string}`, string>;
            gasFees: ZodEffects<ZodString, `0x${string}`, string>;
            initCode: ZodEffects<ZodString, `0x${string}`, string>;
            nonce: ZodEffects<
                ZodUnion<[ZodUnion<[ZodString, ZodNumber]>, ZodBigInt]>,
                bigint,
                string | number | bigint,
            >;
            paymasterAndData: ZodEffects<ZodString, `0x${string}`, string>;
            preVerificationGas: ZodEffects<
                ZodUnion<[ZodUnion<[ZodString, ZodNumber]>, ZodBigInt]>,
                bigint,
                string | number | bigint,
            >;
            sender: ZodEffects<ZodString, `0x${string}`, string>;
            signature: ZodEffects<ZodString, `0x${string}`, string>;
        },
        "strict",
        {
            accountGasLimits: `0x${string}`;
            callData: `0x${string}`;
            gasFees: `0x${string}`;
            initCode: `0x${string}`;
            nonce: bigint;
            paymasterAndData: `0x${string}`;
            preVerificationGas: bigint;
            sender: `0x${string}`;
            signature: `0x${string}`;
        },
        {
            accountGasLimits: string;
            callData: string;
            gasFees: string;
            initCode: string;
            nonce: string
            | number
            | bigint;
            paymasterAndData: string;
            preVerificationGas: string | number | bigint;
            sender: string;
            signature: string;
        },
    >,
    {
        accountGasLimits: `0x${string}`;
        callData: `0x${string}`;
        gasFees: `0x${string}`;
        initCode: `0x${string}`;
        nonce: bigint;
        paymasterAndData: `0x${string}`;
        preVerificationGas: bigint;
        sender: `0x${string}`;
        signature: `0x${string}`;
    },
    {
        accountGasLimits: string;
        callData: string;
        gasFees: string;
        initCode: string;
        nonce: string
        | number
        | bigint;
        paymasterAndData: string;
        preVerificationGas: string | number | bigint;
        sender: string;
        signature: string;
    },
> = ...

Schema for a packed user operation, which is a more gas-efficient format used by the EntryPoint contract.

const packedOp = packedUserOperationSchema.parse({
sender: "0x123...",
nonce: "0x1",
initCode: "0x",
callData: "0x123...",
accountGasLimits: "0x...",
preVerificationGas: "0x1",
gasFees: "0x...",
paymasterAndData: "0x",
signature: "0x..."
});