> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dune.com/llms.txt
> Use this file to discover all available pages before exploring further.

# dune.lens.namespace_handle

> Lens Protocol handles — registered usernames in the Lens namespace.

export const TableSample = ({tableName, tableSchema}) => <>
    <div className="hidden dark:block">
      <iframe src={`https://dune.com/embeds/3419983/5785629?table_schema_t6f0df=${tableSchema}&table_name_t6f0df=${tableName}&darkMode=true`} style={{
  width: '100%',
  height: '500px',
  border: 'none',
  marginTop: '10px'
}} />
    </div>
    <div className="dark:hidden">
      <iframe src={`https://dune.com/embeds/3419983/5785629?table_schema_t6f0df=${tableSchema}&table_name_t6f0df=${tableName}`} style={{
  width: '100%',
  height: '500px',
  border: 'none',
  marginTop: '10px'
}} />
    </div>
  </>;

<Warning>
  **Deprecation Notice**: Lens data ingestion has been discontinued as of December 2025. Only historical data is available, and no new data will be added.
</Warning>

## Table description

The `dune.lens.namespace_handle` table holds the handle information. Note that handles and profiles are 2 different NFTs. A handle has its own ID.

## Table Schema

| Column Name | Type | Description |
| - | - | - |
| tld | varchar | Top-level domain of the handle namespace (e.g. `lens`) |
| local\_name | varchar | The local portion of the handle (the username part) |
| handle\_id | varbinary | Unique identifier for the handle NFT |
| handle | varchar | Full handle string (e.g. `lens/alice`) |
| owned\_by | varbinary | Wallet address that currently owns the handle |
| tx\_hash | varbinary | Transaction hash of the handle creation or transfer |
| block\_hash | varbinary | Hash of the block containing the transaction |
| block\_number | integer | Block number of the transaction |
| log\_index | integer | Index of the event log within the transaction |
| tx\_index | integer | Index of the transaction within the block |
| block\_timestamp | timestamp | Timestamp of the block |

## Table Sample

<TableSample tableSchema="dune.lens" tableName="namespace_handle" />


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.