Skip to main content
SubnameRenewForm renews a subname minted under an ENSv2-activated parent, at the price the parent’s owner set. Anyone can renew any subname, and the owner keeps it. A subname stops resolving when its parent expires, whatever its own expiry. When the new expiry would outlive the parent, the form warns the user. Pass onRenewParent to add a link in that warning, and open a NameRenewForm for the parent from it.

Example

Leave out label to let the user type the subname.

Props

SubnameRenewForm has no version prop. It renews ENSv2 subnames only. onRenewalSuccess receives the same RenewalSuccessData as NameRenewForm.