🥷
Namespace
  • [ Introduction ]
    • ENS
    • Namespace
  • Official Links
  • [ Dapps ]
    • Overview
    • Onchain Subs (App)
      • Search & Register
      • Wizard
        • Listing an ENS Name
        • Features List
      • ENS Widget
      • Farcaster Frames
        • Default Frame
        • Custom Frame
    • Offchain Subs (DevPortal)
      • Subname create/manage
      • 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
        • Methods
        • GetL2Subname
        • GetL2Subnames
      • 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
  • [ ecosystem ]
    • Use Cases
  • [ Jobs ]
    • 🧑‍💻 Full-Stack Dev
    • 🥷 Dev-Rel Lead
    • 💼 BD Lead
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 9 months ago