Skip to main content
Use isSubnameAvailable to check if a subname can be registered.

Parameters

  • subname: Subname to check availability for (e.g., "ns.myensname.eth")

Return Type

  • isAvailable: true if the subname is available, false if already taken.
Always check subname availability before attempting to create or update a subname.
It may overwrite the existing subname.