<!-- Wallet provider env vars (Privy/Turnkey/Fireblocks/Bankr/PRIVATE_KEY) are documented in the opensea-wallet skill. -->
OpenSea Marketplace
Buy and sell NFTs on OpenSea's Seaport marketplace. Fulfill listings, accept offers, create new orders, cross-chain purchases, and sweep multiple listings.
When to use this skill (`scope_in`)
Use opensea-marketplace when you need to execute trades:
- Buy an NFT (fulfill a listing)
- Sell an NFT (accept an offer)
- Create a new Seaport listing or offer
- Cross-chain NFT purchases (pay with tokens from a different chain)
- Sweep multiple listings in one transaction
When NOT to use this skill (`scope_out`, handoff)
| Need | Use instead |
|---|---|
| Query collection/NFT data, search, browse listings | opensea-api |
| Swap ERC20 tokens | opensea-swaps |
| Set up wallet signing providers | opensea-wallet |
| Build/register/gate AI agent tools | opensea-tool-sdk |
Buying an NFT
- Find the NFT and check its listing (use
opensea-apiskill):
```bash
opensea listings best-for-nft cool-cats-nft 1234
```
- Get the order hash from the response, then get fulfillment data:
```bash
./scripts/opensea-fulfill-listing.sh ethereum 0x_order_hash 0x_your_wallet
```
- The response contains transaction data to execute onchain.
Selling an NFT (accepting an offer)
- Check offers on your NFT (use
opensea-apiskill):
```bash
opensea offers best-for-nft cool-cats-nft 1234
```
- Get fulfillment data for the offer:
```bash
./scripts/opensea-fulfill-offer.sh ethereum 0x_offer_hash 0x_your_wallet 0x_nft_contract 1234
```
- Execute the returned transaction data.
Cross-chain buying
Buy NFTs using tokens from a different chain (e.g., USDC on Base to buy an ETH mainnet NFT). Also supports same-chain different-token purchases and sweeping up to 50 listings.
- Find the NFT and check its listing:
```bash
opensea listings best-for-nft cool-cats-nft 1234
```
- Get cross-chain fulfillment data:
```bash
./scripts/opensea-cross-chain-fulfill.sh 0xYourWallet base 0x0000000000000000000000000000000000000000 ethereum 0x0000000000000068f116a894984e2db1123eb395 0xOrderHash
```
- The response contains an ordered list of transactions to sign and submit (first may be an ERC20 approval).
Sweep multiple listings:
./scripts/opensea-cross-chain-fulfill.sh 0xYourWallet base 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 ethereum 0x0000000000000068f116a894984e2db1123eb395 0xHash1 0xHash2 0xHash3
CLI alternative:
opensea listings cross-chain-fulfill \
--hashes 0xHash1,0xHash2 \
--listing-chain ethereum \
--protocol-address 0x0000000000000068f116a894984e2db1123eb395 \
--fulfiller 0xYourWallet \
--payment-chain base \
--payment-token 0x0000000000000000000000000000000000000000
Creating listings/offers
Creating new listings and offers requires wallet signatures. Use ../opensea-api/scripts/opensea-post.sh with the Seaport order structure (see references/marketplace-api.md for full details).
Marketplace action scripts
| Task | Script |
|------|--------|
| Get fulfillment data (buy NFT) | opensea-fulfill-listing.sh <chain> <order_hash> <buyer> |
| Get cross-chain fulfillment data | opensea-cross-chain-fulfill.sh [--recipient <addr>] <fulfiller> <payment_chain> <payment_token> <listing_chain> <protocol_address> <hash1> [hash2 ...] |
| Get fulfillment data (accept offer) | opensea-fulfill-offer.sh <chain> <order_hash> <seller> <contract> <token_id> |
| Generic POST request | ../opensea-api/scripts/opensea-post.sh <path> <json_body> |
Signing transactions
All transaction signing uses managed wallet providers through the WalletAdapter interface. See the