The Xpectrum Marketplace handles all secondary trading via the Xmarket contract. It works with any XNS-1 compliant collection. Both platform-managed XNS1 collections and creator-deployed Xcollections are tradeable.Documentation Index
Fetch the complete documentation index at: https://xpectrum.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Listing a token
To list a token for sale:- Approve Xmarket as an operator on the token (one-time per token, or use approve-all)
- Set your price and submit the listing
contract_token_to_listing so any buyer can look up an active listing by collection address and token ID.
If the listed token changes hands after listing (e.g. transferred as a gift), the stale listing auto-cancels on the next interaction with it.
Sale proceeds
When a token sells, payment splits automatically at settlement:| Recipient | Share |
|---|---|
| Platform | 2.5% |
| Creator royalty | As set by collection (max 10%) |
| Seller | Remainder |
claim_proceeds() or the dashboard Collect button. Your proceeds are never lost to a failed downstream call.
Offers
Individual offers
Make an offer on a specific token viamake_offer(contract, token_id, expiry) with OCT attached. The OCT is locked in Xmarket for the offer duration.
The token owner accepts via accept_offer(offer_id). You cancel via cancel_offer(offer_id) to reclaim your OCT. Offer amounts are publicly visible on-chain.
Collection offers
A collection offer targets any token in a collection, not a specific one. Submit viamake_collection_offer(contract, expiry) with OCT attached.
When a seller accepts via accept_collection_offer(offer_id, token_id), they specify which token from their wallet fills it. Xmarket verifies ownership and marketplace approval at settlement time.
Collection offers let you acquire any piece from a collection at a price you’re comfortable with, without waiting for a specific token to be listed.
