Table Details
| Property | Value |
|---|---|
| Table Name | base.ens.registrations |
| Table Status | Production-Ready |
| Unique Key | registration_timestamp::date, transaction_hash, log_index |
| Clustering Key(s) | registration_timestamp::date |
| Search Optimization | owner_address, token_id, name |
Table Columns
| Column Name | Data Type | Description |
|---|---|---|
| name | VARCHAR(16777216) | Registered label without the .base.eth suffix, e.g. alice for alice.base.eth. Holds the hex string when the label bytes are not valid UTF-8. |
| token_id | VARCHAR(16777216) | ERC-721 token ID of the Basename, the decimal form of the keccak256 hash of the label (the indexed label topic of NameRegistered). |
| registration_timestamp | TIMESTAMP_NTZ(9) | Timestamp (UTC) when the Basename was registered onchain. |
| expiry_timestamp | TIMESTAMP_NTZ(9) | Timestamp (UTC) when the Basename registration expires. After expiry the name can be registered by anyone. |
| owner_address | VARCHAR(42) | Address that owns the registered Basename, from the owner field of the NameRegistered event. |
| eth_cost | VARCHAR(16777216) | Not populated on Base (always NULL). Basenames emits the price in a separate payment event, which this table does not read. |
| usd_cost | FLOAT | Not populated on Base (always NULL), because eth_cost is not populated. |
| transaction_hash | VARCHAR(66) | Hash of the transaction that produced this record. Uniquely identifies a transaction within the blockchain. |
| log_index | NUMBER(38,0) | Zero-based position of this event log within its transaction. The first log emitted by a transaction has index 0. |
| block_number | NUMBER(38,0) | Sequential number of the block that contains this record. Starts at 0 (genesis block) and increments by 1 for each new block. |
| block_hash | VARCHAR(66) | Cryptographic hash of the block header that contains this record. Uniquely identifies a block. |
| _created_at | TIMESTAMP_NTZ(9) | Timestamp of when the entry was created in the database. |
| _updated_at | TIMESTAMP_NTZ(9) | Timestamp of when the entry was last updated in the database. |