ENS Tables
The following ENS tables are available for users to query and enrich their analysis.| Table Name | Description |
|---|---|
| names | Contains all ENS names and their corresponding numeric token ID. |
| registrations | Contains all ENS registration events. Registration events happen when a new ENS name is registered (almost like minted) for the first time, or when a registration expires and someone else registers it again. |
| renewals | Contains all ENS renewal events |
| net_transfers | Contains all ENS transfer events with ENS token ID as, sender and recipient address as well as transaction-level data. |
| primary_records_latest | Contains the current ENS primary record of any address. |
Sample Queries
Below are some examples of how you can use the ENS table to enrich your analysis.Example 1 - Labelling of Wallets.
Usingens.primary_records_latest to identify ENS names of BoredApeYachtClub minters
Example 2 - Identify ENS sold by name
Using theens.names to find sales of ENS by name with nfts.trades.
Table Column Name
Names
ethereum.ens.names
Registrations
ethereum.ens.registrations
| Column | Description |
|---|---|
| name | An individual component of a name, such as ‘alice’. |
| owner_address | Address of the ENS owner. |
| eth_cost | ETH cost of the ENS registration. |
| usd_cost | USD cost of the ENS registration at the time of transaction. |
| registration_timestamp | Timestamp of the ENS registration. |
| expiry_timestamp | Expiry timestamp of the ENS name registered. |
| token_id | Numeric token ID corresponding to the ENS name. |
| log_index | Log index of the ENS registration. |
| transaction_hash | Transaction hash of the ENS registration. |
| block_number | Block number of the record. |
| block_hash | Block hash of the record. |
Renewals
ethereum.ens.renewals
Net Transfers
ethereum.ens.net_transfers
Primary Record Latest
ethereum.ens.primary_records_latest