Skip to main content
Check availability before generating mint transaction parameters. Use the method that matches the parent name’s listing: isL1SubnameAvailable for Ethereum, or isL2SubnameAvailable for an L2 chain.

Check availability on Ethereum

Use isL1SubnameAvailable for a parent name listed on Ethereum mainnet:

Check availability on L2 chains

Use isL2SubnameAvailable with the target chain ID. This example checks Base: