batch_create_listings
List up to 10 ENS names for sale on NameWhisper in one signing flow, generating unsigned Seaport order payloads for a single bulk signature.
Instructions
Bulk-list up to 10 ENS names for sale on NameWhisper in one signing flow.
Returns an array of unsigned Seaport OrderComponents payloads. The caller's wallet signs them all in one EIP-712 bulk signature (SIP-6), then POSTs each signature back to https://namewhisper.ai/api/orderbook/submit to store.
NW-native only — listings stay on NameWhisper. Cheaper UX than calling create_listing in a loop (one wallet popup vs N).
Per-name errors (invalid label, zero price) are collected in the 'errors' field instead of aborting the whole batch — partial success is normal.
Requires operator approval on the ENS token contract (NameWrapper or BaseRegistrar) — do this once per wallet via approve_operator.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| listings | Yes | Array of { name, priceEth }. Per-item validation (empty name, non-positive price) is collected in the errors array rather than rejecting the whole batch. | |
| walletAddress | Yes | Wallet address of the seller. Must own all the names. | |
| durationSeconds | No | Listing duration in seconds (applied to every name, default: 30 days) |