> For the complete documentation index, see [llms.txt](https://docs.nftbutler.io/nft-butler/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.nftbutler.io/nft-butler/products-and-services/discord-bot/ens.md).

# /ens

{% hint style="info" %}
/ens will convert a given list of ens names to a list of ens token ids
{% endhint %}

`/ens` can be used in the [Community-Bot](https://discord.com/channels/910479328746287104/947522708546134046) channel:

<figure><img src="/files/LIXNnLkkCbAxbt9jjdwL" alt=""><figcaption><p>using /ens to convert caisno.eth, linux.eth, bitcoin.eth and 0001.eth - 0100.eth to token ids</p></figcaption></figure>

<figure><img src="/files/ku3qwLJvujmkwaFrhNca" alt=""><figcaption><p>using /ens999 to convert 001.eth - 100.eth to token ids</p></figcaption></figure>

### Required Parameters

* `ensname` Specify the ens names you'd like to convert to token ids. It can be a comma seperated list of names but you can also add nummeric ranges to target tokens from **0001.eth - 1000.eth**
* `ens_standard`ENS uses two different contracts and methods to generate token ids.\
  ERC721 contarct: **0x57f1887a8bf19b14fc0df6fd9b2acc9af147ea85**\
  ERC1155 contract: **0xd4416b13d2b3a9abae7acd5d6c2bbdbe25686401**

Examples:

* /ens 1-9999
* /ens999 1-100
* /ens 10-20, casino, life, sunny
* /ens 1, 11, 111, 1337, 10000-11000

### Optional Parameters

* None

### Output

{% hint style="info" %}
The bot will send you the converted list of ens names directly as private message in the community-bot channel
{% endhint %}

<figure><img src="/files/Qqo7w3jKiLyC7MWD265x" alt=""><figcaption><p>Receiving token ids of converted ens names</p></figcaption></figure>

The output data can be used to [create a manual task](/nft-butler/task-types/token-bidding.md) based on token ids to bid on the specified ens names.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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.nftbutler.io/nft-butler/products-and-services/discord-bot/ens.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.
