# Getters and Setters

```javascript
get_secrets()
```

Return the secrets stored in the TyphoonSDK instance, this will only return data after you call **generate\_approve\_and\_deposit\_calls** functio&#x6E;**.**

```javascript
set_secrets(new_secrets)
```

Set the secrets stored in your TyphoonSDK instance.

```javascript
get_nullifiers()
```

Return the nulifiers stored in the TyphoonSDK instance, this will only return data after you call **generate\_approve\_and\_deposit\_calls** functio&#x6E;**.**

<pre class="language-javascript"><code class="lang-javascript"><strong>set_nullifiers(new_nullifiers)
</strong></code></pre>

Set the nullifiers stored in your TyphoonSDK instance.

```javascript
get_pools()
```

Return the pools stored in the TyphoonSDK instance, this will only return data after you call **generate\_approve\_and\_deposit\_calls** functio&#x6E;**.**

```javascript
set_pools(new_pools)
```

Set the pools stored in your TyphoonSDK instance.

```javascript
async get_token_minimal_amount(token_address)
```

This function returns the minimal amount required by Typhoon to mix the tokens (normally is a very small amount).

```javascript
init(secrets, nullifiers, pools)
```

This function sets the secrets, nullifiers and pools values.


---

# 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://typhoon-2.gitbook.io/typhoon-docs/getting-started/getters-and-setters.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.
