Skip to main content
Indexer Manager is deprecated. It keeps working for onchain listings on ENSv1 names. For new integrations, use offchain subnames, or issue onchain subnames from the Namespace App. See ENSv2 and Namespace.
Indexer has methods for fetching single or multiple L2 subnames.

Get one L2 subname

The getL2Subname method retrieves a single subname registered on an L2 chain.

Usage

  • chainId: The id of the target L2 network (e.g., base(8453), optimism(10), baseSepolia(84532))
  • nameOrNamehash: Name or namehash representation of an ENS name

Return Type

Field Description

Get multiple L2 subnames

The getL2Subnames method allows you to retrieve a paginated list of Layer 2 (L2) subnames based on various filter criteria.

Usage

Query Parameters

Return Type