πŸ₯·
Namespace
AppDev Portal
  • [ Introduction ]
    • ENS
    • Namespace
  • Official Links
  • Apps
    • Overview
    • Onchain Subnames (App)
      • Search & Register
      • Wizard
        • Listing an ENS Name
        • Features List
      • ENS Widget
      • Farcaster Frames
        • Default Frame
        • Custom Frame
    • Offchain Subnames (DevApp)
      • Subnames
      • Resolver set
      • API keys
  • How-to Guides and Demos
  • Dev Docs
    • SDK
      • Offchain Manager
        • Installation
        • Generate API key
        • Create or Update Subname
        • DeleteSubname
        • IsSubnameAvailable
        • GetFilteredSubnames
        • AddressRecords
          • ChainName
        • TextRecords
        • DataRecords
      • Indexer Manager
        • Installation
        • Fetch L2 Subnames
        • Fetch L2 Registries
      • Mint Manager
        • Installation
        • GetMintDetails
        • GetMintTransactionParameters
        • IsSubnameAvailable
        • How To Mint L1 & L2 subname via mint-manager
      • Namespace Client (deprecated)
        • Installation
        • GetListedName
        • GetMintDetails
        • GetMintTransactionParameters
        • IsSubnameAvailable
        • GenerateAuthToken
    • APIs
      • Offchain Manager
      • Mint Manager
    • Infrastructure
      • Namespace L2 Subnames
    • Subpages
  • Ecosystem
    • Use Cases
  • Jobs
    • πŸ“ŒWe’re Hiring πŸ‘‡
    • πŸ§‘β€πŸ’» Full-Stack Dev
    • πŸ₯· DevRel Lead
    • πŸ’Ό BD Lead
    • 🐣 Intern (dev role)
Powered by GitBook
On this page
  • Usage
  • Return Type
  1. Dev Docs
  2. SDK
  3. Namespace Client (deprecated)

GetListedName

GetListedName function

GetListedName function is used to returned an object representing listed name on Namespace platform. The Listing object can be used to perform other operations with a namespace client.

Usage

const listing = await NamespaceClient.getListedName("example.eth")

By default, the client will look for a name which is listed on Ethereum Mainnet network. If the name comes from Sepolia Testnet, we will have to specify chainId parameters.

const listing = await NamespaceClient.getListedName("example.eth", sepolia.id);

Return Type

The function returns a Listing interface, which contains the name metadata required for performing other supported operations

export interface Listing {
    label: string;
    fullName: string;
    node: string;
    network: "mainnet" | "sepolia";
    registryNetwork?: "base" | "baseSepolia"
}
PreviousInstallationNextGetMintDetails

Last updated 10 months ago