# ConnectionConfigSchema | @aa-sdk/core

> Overview of ConnectionConfigSchema from @aa-sdk/core

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

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

```ts
const ConnectionConfigSchema: ZodIntersection<
  ZodUnion<
    [
      ZodObject<
        {
          apiKey: ZodString;
          jwt: ZodOptional<ZodNever>;
          rpcUrl: ZodOptional<ZodNever>;
        },
        "strip",
        ZodTypeAny,
        {
          apiKey: string;
          rpcUrl?: undefined;
          jwt?: undefined;
        },
        {
          apiKey: string;
          rpcUrl?: undefined;
          jwt?: undefined;
        }
      >,
      ZodObject<
        {
          apiKey: ZodOptional<ZodNever>;
          jwt: ZodString;
          rpcUrl: ZodOptional<ZodNever>;
        },
        "strip",
        ZodTypeAny,
        {
          jwt: string;
          apiKey?: undefined;
          rpcUrl?: undefined;
        },
        {
          jwt: string;
          apiKey?: undefined;
          rpcUrl?: undefined;
        }
      >,
      ZodObject<
        {
          apiKey: ZodOptional<ZodNever>;
          jwt: ZodOptional<ZodNever>;
          rpcUrl: ZodString;
        },
        "strip",
        ZodTypeAny,
        {
          rpcUrl: string;
          apiKey?: undefined;
          jwt?: undefined;
        },
        {
          rpcUrl: string;
          apiKey?: undefined;
          jwt?: undefined;
        }
      >,
      ZodObject<
        {
          apiKey: ZodOptional<ZodNever>;
          jwt: ZodString;
          rpcUrl: ZodString;
        },
        "strip",
        ZodTypeAny,
        {
          rpcUrl: string;
          jwt: string;
          apiKey?: undefined;
        },
        {
          rpcUrl: string;
          jwt: string;
          apiKey?: undefined;
        }
      >,
    ]
  >,
  ZodObject<
    {
      chainAgnosticUrl: ZodOptional<ZodString>;
    },
    "strip",
    ZodTypeAny,
    {
      chainAgnosticUrl?: string;
    },
    {
      chainAgnosticUrl?: string;
    }
  >
>;
```

Defined in: [aa-sdk/core/src/client/schema.ts:22](https://github.com/alchemyplatform/aa-sdk/blob/main/aa-sdk/core/src/client/schema.ts#L22)