Skip to content

ens:renew

Renew ENS domain registrations via bulk renewal.

ens:renew <domains> <duration>
NameTypeDescription
domainsstring | arrayENS label(s) or names to renew
durationnumberRenewal duration, in time units (e.g. 1y)
load ens
# Renew a single domain for one year
ens:renew "mydomain" 1y
# Renew multiple domains at once
ens:renew ["domain1" "domain2" "domain3"] 1y
  • Only works on Ethereum mainnet (chain ID 1)
  • Uses the ENS bulk renewal contract