# Close Token Account

## 1. Create Task&#x20;

* Go to the 'Tasks' tab
* Create a 'Task Group' on the right
* Select Close Token Account
* Choose a name for the group
* Press 'Create'
* Choose a name for the task
* Select the wallet group
* Select each wallet you want to use

## 2. Task Information

### Token Mint Keywords

* The name of which token accounts will be closed
* Any PF token accounts with the keywords will be closed

### Max Token Balance

* The maximum amount of tokens to be sold

### Delay

* The delay between tx's (in ms)

### Accounts per tx

* The number of token accounts Lunar will close per tx

{% hint style="info" %}
Lower amount will result in more fees but less chance of being rate limited
{% endhint %}

### RPC

* The RPC used for the task

<figure><img src="/files/pwRFsNYfDMbFEu4urjRB" alt=""><figcaption><p>Images are for illustrative purposes only</p></figcaption></figure>


---

# 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://guide.lunar.trade/tasks/close-token-account.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.
