Skip to content
Alchemy Logo

AlchemyConnectionConfigSchema

const AlchemyConnectionConfigSchema: ZodEffects<
  ZodEffects<
    ZodObject<
      {
        apiKey: ZodOptional<ZodString>;
        jwt: ZodOptional<ZodString>;
        url: ZodOptional<ZodString>;
      },
      "strict",
      ZodTypeAny,
      {
        apiKey?: string;
        jwt?: string;
        url?: string;
      },
      {
        apiKey?: string;
        jwt?: string;
        url?: string;
      }
    >,
    {
      apiKey?: string;
      jwt?: string;
      url?: string;
    },
    {
      apiKey?: string;
      jwt?: string;
      url?: string;
    }
  >,
  {
    apiKey?: string;
    jwt?: string;
    url?: string;
  },
  {
    apiKey?: string;
    jwt?: string;
    url?: string;
  }
>;

Defined in: packages/common/src/transport/connectionSchema.ts:48

Main connection configuration allowing flexible combinations. Can specify URL, auth method, or both together.

Was this page helpful?