batch_purchase
Buy up to 20 ENS names listed on NameWhisper in one transaction. Picks the cheapest active listings, validates them via Seaport, and executes a single order to reduce gas costs while safely skipping stale orders.
Instructions
Buy up to 20 NameWhisper-listed ENS names in a single Seaport transaction.
For each name, picks the cheapest active NW listing, validates it on-chain via Seaport.getOrderStatus, then encodes one fulfillAvailableAdvancedOrders call. NFTs go directly to your wallet.
Partial failures are safe: if an order went stale between discovery and execution, Seaport skips it and refunds excess ETH. The response lists which labels succeeded and which were dropped.
Cheaper per name than individual buys (gas is amortized). For a single name, use purchase_name.
NW-only: this tool ignores listings posted exclusively to Grails / OpenSea. If a name isn't listed on NameWhisper, you'll see it in the 'failed' array.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| names | Yes | Array of ENS names to buy (e.g. ["coffee.eth", "tea.eth"]). Max 20 per batch. | |
| walletAddress | Yes | Buyer wallet address — receives all purchased names. |