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

Last updated