parentName | string | Required. The activated parent, such as yourname.eth. |
label | string | Prefills the subname label. |
isTestnet | boolean | Uses Sepolia instead of Ethereum mainnet. |
resolver | Address | Resolver for the new subname when the activation doesn’t set one. Defaults to Namespace’s shared resolver. Ignored with version={1}. |
version | 1 | 2 | Defaults to 2 (ENSv2). Pass 1 for a parent on an old Namespace listing. |
avatarUploadDomain | string | Hostname used in the avatar upload sign-in message. |
title | string | Replaces the form title. |
subtitle | string | Replaces the form subtitle. |
txConfirmations | number | Confirmations to wait for, on the version={1} flow. |
noBorder | boolean | Removes the card border. |
onSuccess | (data: MintSuccessData) => void | Called after the mint confirms. |
onSubnameMinted | (data: SubnameMintedData) => void | Also called after the mint confirms, with owner and chain details. |
onConnectWallet | () => void | Called when the user needs to connect a wallet. |
onCancel | () => void | Called when the user cancels. |