πŸ₯·
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
  1. Dev Docs
  2. SDK
  3. Namespace Client (deprecated)

IsSubnameAvailable

IsSubnameAvailable function

IsSubnameAvailable function is used to check for the availabilty of a subname for listed name, abstracting the logic of l2 and l1 subnames

IsL1SubnameAvailable

Used to check the availability of a subname when minting happens on the L1 Chain.

  public async isL1SubnameAvailable(
    subname: string,
  ): boolean

IsL2SubnameAvailable

Used to check the availability of a subname when minting happens on the L2 Chain.

  public async isL1SubnameAvailable(
    subname: string,
    chainId: number
  ): boolean
PreviousGetMintTransactionParametersNextGenerateAuthToken

Last updated 1 month ago