See Getting Started for prerequisites and installation.
Quick Overview
Creating a listing involves 4 steps:- Prepare listing - SDK generates order components and typed data
- Sign & submit approval (if needed) - One-time per collection
- Sign typed data - User signs the listing (gasless)
- Create listing - Submit signed order to orderbook
Creating an ERC-721 Listing
ERC-721 tokens are unique (1-of-1). Each listing sells exactly one token.Prepare the Listing
Order Type: ERC-721 listings automatically use
FULL_RESTRICTED order type, meaning they cannot be partially filled. The entire NFT must be purchased at once.Handle Approval Transaction
For the general approval pattern, see Overview: Approval Pattern. If this is the user’s first listing for this NFT collection, they must approve the Seaport contract:Sign the Order
After approval, user signs the typed data (gasless):Submit the Listing
Finally, submit the signed order to the orderbook:Status Transitions: Listings start as
PENDING while the orderbook validates balance and approval. They transition to ACTIVE asynchronously (usually within seconds). Build your UI to handle this delay optimistically.Creating an ERC-1155 Listing
ERC-1155 tokens support multiple copies. Listings can sell any quantity and support partial fills.Prepare the Listing
Order Type: ERC-1155 listings automatically use
PARTIAL_RESTRICTED order type, enabling partial fulfillment. Buyers can purchase any quantity up to the listed amount.Approval, Signing, and Submission
The approval, signing, and submission steps are identical to ERC-721:Maker Fees
Maker fees are set at listing creation and cannot be changed without canceling and recreating the listing.Order Expiration
Set when your listing should automatically expire:Complete Example
Full working example combining all steps:Error Handling
Common errors and solutions:Next Steps
Order Management
Query and manage your listings
Fill Orders
Learn how buyers purchase your listings
Cancel Orders
Understand soft and hard cancellation
Bulk Operations
Create multiple listings in one transaction