# AlchemyConnectionConfigSchema

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

> For the complete documentation index, see [llms.txt](/docs/llms.txt).

{/* This file is auto-generated by TypeDoc. Do not edit manually. */}

```ts
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](https://github.com/alchemyplatform/aa-sdk/blob/v5.x.x/packages/common/src/transport/connectionSchema.ts#L48)

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