IsSubnameAvailable

IsSubnameAvailable function is used to check for the availabilty of a subname before minting is attempted. Subnames which are already registered, cannot be minted.

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 isL2SubnameAvailable(
    subname: string,
    chainId: number
  ): boolean

Last updated