bulk_register
Register up to 20 ENS names in a single batched operation using just two transactions, cutting costs and saving time compared to one-by-one registration.
Instructions
Register multiple ENS names in bulk — batched into just 2 transactions (commit + register) via Multicall3.
Much cheaper and faster than registering names one at a time. Supports up to 20 names per batch.
Flow: batchCommit (1 tx) → wait 60 seconds → batchRegister (1 tx with total ETH). Excess ETH is refunded.
Each name gets its own secret for front-running protection. All names must be available for registration.
After registration, use bulk_set_records to configure all names at once with addresses, text records, and content hashes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| names | Yes | Array of ENS names to register (e.g. ["coffee.eth", "tea.eth"]). Max 20 per batch. | |
| duration | No | Registration duration in DAYS, applied to every name (ENS minimum 28, maximum 3650 = 10 years, default 365 = 1 year) | |
| durationYears | No | DEPRECATED — use duration (days) instead. Years are converted to days on the backend. | |
| walletAddress | Yes | Wallet address that will own all registered names |