# Class: Haven1SDK

This class serves as the entry point for interacting with the Haven1 system. It initializes and provides access to the AuthModule and SdkModule.

### Constructors

#### new Haven1SDK()

> **new Haven1SDK**(`config`): `Haven1SDK`

Creates a new instance of the Haven1SDK.

**Parameters**

**config**

`Config`

The configuration object containing the SDK and Auth API URLs.

**Returns**

`Haven1SDK`

**Defined in**

[haven1SDK.ts:22](https://github.com/haven1network/haven1-sdk/blob/0001e1c92905c3f34b86b89ff2290ffba9fe7417/packages/api-client/src/haven1SDK.ts#L22)

### Properties

#### auth

> **auth**: `AuthModule`

Instance of the AuthModule for authentication-related operations.

**Defined in**

[haven1SDK.ts:13](https://github.com/haven1network/haven1-sdk/blob/0001e1c92905c3f34b86b89ff2290ffba9fe7417/packages/api-client/src/haven1SDK.ts#L13)

***

#### sdk

> **sdk**: `SdkModule`

Instance of the SdkModule for SDK API functionalities.

**Defined in**

[haven1SDK.ts:15](https://github.com/haven1network/haven1-sdk/blob/0001e1c92905c3f34b86b89ff2290ffba9fe7417/packages/api-client/src/haven1SDK.ts#L15)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.haven1.org/build/developer-tools/haven1-sdk/haven1-sdk-api-client/class-haven1sdk.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
