# Ethereum Name Service

> Look up ENS avatar and name token metadata.

App · 2 actions. Web page: https://docs.lodol.com/docs/integrations/ethereum-name-service

## Actions

### Get ENS avatar metadata

Get ENS avatar metadata.

**Inputs**

- Network (`network`, text, required): Choose the Ethereum network. One of: `mainnet`, `sepolia`.
- Name (`name`, text, required): Enter the full ENS name, such as vitalik.eth.

**Outputs**

- `data` (object): Response.

**Example output**

```json
{
  "data": {
    "image": "example",
    "uri": "example"
  }
}
```

### Get ENS name token metadata

Get ENS name token metadata.

**Inputs**

- Network (`network`, text, required): Choose the Ethereum network. One of: `mainnet`, `sepolia`.
- Contract address (`contract_address`, text, required): Enter the contract address for the ENS token.
- Token ID (`token_id`, text, required): Enter the ENS token ID as decimal text or a hex hash.

**Outputs**

- `data` (object): Response.

**Example output**

```json
{
  "data": {
    "attributes": [],
    "description": "example",
    "image": "example",
    "is_normalized": false,
    "name": "example"
  }
}
```
