> For the complete documentation index, see [llms.txt](https://docs.novabloq.com/web3-metamask/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.novabloq.com/web3-metamask/elements-details/web3-utils/get-ens-data.md).

# Get ENS data

Extract all available data from an ENS name like address, email, avatar, etc.

### [Demo](https://web3-demo.bubbleapps.io/version-test/ens)

{% hint style="info" %}
Your wallet must be connected to the **ethereum mainnet**
{% endhint %}

## &#x20;<mark style="background-color:blue;">Parameters</mark>&#x20;

<table><thead><tr><th width="179.33333333333331">Parameter name</th><th width="113">Type</th><th>Description</th></tr></thead><tbody><tr><td>ENS Name</td><td>Text</td><td>Example: novabloq.eth or vitalik.eth</td></tr><tr><td>Data type</td><td>Dropdown</td><td>Data to extract form ENS name: Wallet Address,Email,Avatar,URL,Description,Keywords,Twitter,Notice,Discord,Github,Reddit,Telegram,Delegate,All</td></tr></tbody></table>

## &#x20;<mark style="background-color:blue;">Events</mark>&#x20;

<table><thead><tr><th width="251">Event name</th><th>Description</th></tr></thead><tbody><tr><td>ENS Data is Ready</td><td>Triggered when data is ready to be used</td></tr><tr><td>NO ENS Domain available</td><td>Triggered if the given ENS name is incorrect or wrong connected chain</td></tr></tbody></table>

## &#x20;<mark style="background-color:blue;">States</mark>&#x20;

<table><thead><tr><th width="211">State name</th><th width="100.33333333333331">Type</th><th>Description</th></tr></thead><tbody><tr><td>ENS: Wallet Address</td><td>Text</td><td></td></tr><tr><td>ENS: Email</td><td>Text</td><td>If the given ENS doesn't have the desired data type, the state will be empty</td></tr><tr><td>ENS: Avatar</td><td>Text</td><td></td></tr><tr><td>ENS: URL</td><td>Text</td><td></td></tr><tr><td>ENS: Description</td><td>Text</td><td></td></tr><tr><td>ENS: Keywords</td><td>Text</td><td></td></tr><tr><td>ENS: Twitter</td><td>Text</td><td></td></tr><tr><td>ENS: Notice</td><td>Text</td><td></td></tr><tr><td>ENS: Discord</td><td>Text</td><td></td></tr><tr><td>ENS: GitHub</td><td>Text</td><td></td></tr><tr><td>ENS: Reddit</td><td>Text</td><td></td></tr><tr><td>ENS: Telegram</td><td>Text</td><td></td></tr><tr><td>ENS: Delegate</td><td>Text</td><td></td></tr></tbody></table>


---

# 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.novabloq.com/web3-metamask/elements-details/web3-utils/get-ens-data.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.
