{
  "schemaVersion": "1.0",
  "item": {
    "slug": "opensea-mcp",
    "name": "OpenSea",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/dfinzer/opensea-mcp",
    "canonicalUrl": "https://clawhub.ai/dfinzer/opensea-mcp",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/opensea-mcp",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=opensea-mcp",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "scripts/opensea-account-nfts.sh",
      "scripts/opensea-order.sh",
      "scripts/opensea-listings-collection.sh",
      "scripts/opensea-get.sh",
      "scripts/opensea-best-offer.sh"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/opensea-mcp"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/opensea-mcp",
    "agentPageUrl": "https://openagent3.xyz/skills/opensea-mcp/agent",
    "manifestUrl": "https://openagent3.xyz/skills/opensea-mcp/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/opensea-mcp/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "OpenSea API",
        "body": "Query NFT data, trade on the Seaport marketplace, and swap ERC20 tokens across Ethereum, Base, Arbitrum, Optimism, Polygon, and more."
      },
      {
        "title": "Quick start",
        "body": "Set OPENSEA_API_KEY in your environment\nRun helper scripts in scripts/ for common operations\nUse the MCP server for token swaps and advanced queries\n\nexport OPENSEA_API_KEY=\"your-api-key\"\n\n# Token swap: ETH to token\n./scripts/opensea-swap.sh 0xTokenAddress 0.1 0xYourWallet 0xYourKey base\n\n# Token swap: Token to token (specify from_token as last arg)\n./scripts/opensea-swap.sh 0xToToken 100 0xYourWallet 0xYourKey base 0xFromToken\n\n# Get collection info\n./scripts/opensea-collection.sh boredapeyachtclub\n\n# Get NFT details\n./scripts/opensea-nft.sh ethereum 0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d 1234\n\n# Get best listing price for an NFT\n./scripts/opensea-best-listing.sh boredapeyachtclub 1234"
      },
      {
        "title": "Token swaps",
        "body": "OpenSea's API includes a cross-chain DEX aggregator for swapping ERC20 tokens with optimal routing across all supported chains.\n\nTaskTool/ScriptGet swap quote with calldataget_token_swap_quote (MCP) or opensea-swap.shCheck token balancesget_token_balances (MCP)Search tokenssearch_tokens (MCP)Get trending tokensget_trending_tokens (MCP)Get top tokens by volumeget_top_tokens (MCP)"
      },
      {
        "title": "Reading NFT data",
        "body": "TaskScriptGet collection detailsopensea-collection.sh <slug>Get collection statsopensea-collection-stats.sh <slug>List NFTs in collectionopensea-collection-nfts.sh <slug> [limit] [next]Get single NFTopensea-nft.sh <chain> <contract> <token_id>List NFTs by walletopensea-account-nfts.sh <chain> <address> [limit]"
      },
      {
        "title": "Marketplace queries",
        "body": "TaskScriptGet best listing for NFTopensea-best-listing.sh <slug> <token_id>Get best offer for NFTopensea-best-offer.sh <slug> <token_id>List all collection listingsopensea-listings-collection.sh <slug> [limit]List all collection offersopensea-offers-collection.sh <slug> [limit]Get listings for specific NFTopensea-listings-nft.sh <chain> <contract> <token_id>Get offers for specific NFTopensea-offers-nft.sh <chain> <contract> <token_id>Get order by hashopensea-order.sh <chain> <order_hash>"
      },
      {
        "title": "Marketplace actions (POST)",
        "body": "TaskScriptGet fulfillment data (buy NFT)opensea-fulfill-listing.sh <chain> <order_hash> <buyer>Get fulfillment data (accept offer)opensea-fulfill-offer.sh <chain> <order_hash> <seller> <contract> <token_id>Generic POST requestopensea-post.sh <path> <json_body>"
      },
      {
        "title": "Events and monitoring",
        "body": "TaskScriptGet collection eventsopensea-events-collection.sh <slug> [event_type] [limit]Stream real-time eventsopensea-stream-collection.sh <slug> (requires websocat)"
      },
      {
        "title": "Generic requests",
        "body": "TaskScriptAny GET endpointopensea-get.sh <path> [query]Any POST endpointopensea-post.sh <path> <json_body>"
      },
      {
        "title": "Buying an NFT",
        "body": "Find the NFT and check its listing:\n./scripts/opensea-best-listing.sh cool-cats-nft 1234\n\n\n\nGet the order hash from the response, then get fulfillment data:\n./scripts/opensea-fulfill-listing.sh ethereum 0x_order_hash 0x_your_wallet\n\n\n\nThe response contains transaction data to execute on-chain"
      },
      {
        "title": "Selling an NFT (accepting an offer)",
        "body": "Check offers on your NFT:\n./scripts/opensea-best-offer.sh cool-cats-nft 1234\n\n\n\nGet fulfillment data for the offer:\n./scripts/opensea-fulfill-offer.sh ethereum 0x_offer_hash 0x_your_wallet 0x_nft_contract 1234\n\n\n\nExecute the returned transaction data"
      },
      {
        "title": "Creating listings/offers",
        "body": "Creating new listings and offers requires wallet signatures. Use opensea-post.sh with the Seaport order structure - see references/marketplace-api.md for full details."
      },
      {
        "title": "NFT & Collection Scripts",
        "body": "ScriptPurposeopensea-get.shGeneric GET (path + optional query)opensea-post.shGeneric POST (path + JSON body)opensea-collection.shFetch collection by slugopensea-collection-stats.shFetch collection statisticsopensea-collection-nfts.shList NFTs in collectionopensea-nft.shFetch single NFT by chain/contract/tokenopensea-account-nfts.shList NFTs owned by wallet"
      },
      {
        "title": "Marketplace Scripts",
        "body": "ScriptPurposeopensea-listings-collection.shAll listings for collectionopensea-listings-nft.shListings for specific NFTopensea-offers-collection.shAll offers for collectionopensea-offers-nft.shOffers for specific NFTopensea-best-listing.shLowest listing for NFTopensea-best-offer.shHighest offer for NFTopensea-order.shGet order by hashopensea-fulfill-listing.shGet buy transaction dataopensea-fulfill-offer.shGet sell transaction data"
      },
      {
        "title": "Token Swap Scripts",
        "body": "ScriptPurposeopensea-swap.shSwap tokens via OpenSea MCP"
      },
      {
        "title": "Monitoring Scripts",
        "body": "ScriptPurposeopensea-events-collection.shCollection event historyopensea-stream-collection.shReal-time WebSocket events"
      },
      {
        "title": "Supported chains",
        "body": "ethereum, matic, arbitrum, optimism, base, avalanche, klaytn, zora, blast, sepolia"
      },
      {
        "title": "References",
        "body": "references/rest-api.md - REST endpoint families and pagination\nreferences/marketplace-api.md - Buy/sell workflows and Seaport details\nreferences/stream-api.md - WebSocket event streaming\nreferences/seaport.md - Seaport protocol and NFT purchase execution\nreferences/token-swaps.md - Token swap workflows via MCP"
      },
      {
        "title": "OpenSea MCP Server",
        "body": "An official OpenSea MCP server provides direct LLM integration for token swaps and NFT operations. When enabled, Claude can execute swaps, query token data, and interact with NFT marketplaces directly.\n\nSetup:\n\nGo to the OpenSea Developer Portal and verify your email\nGenerate a new API key for REST API access\nGenerate a separate MCP token for the MCP server\n\nAdd to your MCP config:\n\n{\n  \"mcpServers\": {\n    \"opensea\": {\n      \"url\": \"https://mcp.opensea.io/mcp\",\n      \"headers\": {\n        \"Authorization\": \"Bearer YOUR_MCP_TOKEN\"\n      }\n    }\n  }\n}\n\nOr use the inline token format: https://mcp.opensea.io/YOUR_MCP_TOKEN/mcp"
      },
      {
        "title": "Token Swap Tools",
        "body": "MCP ToolPurposeget_token_swap_quoteGet swap calldata for token tradesget_token_balancesCheck wallet token holdingssearch_tokensFind tokens by name/symbolget_trending_tokensHot tokens by momentumget_top_tokensTop tokens by 24h volumeget_tokensGet detailed token info"
      },
      {
        "title": "NFT Tools",
        "body": "MCP ToolPurposesearch_collectionsSearch NFT collectionssearch_itemsSearch individual NFTsget_collectionsGet detailed collection infoget_itemsGet detailed NFT infoget_nft_balancesList NFTs owned by walletget_trending_collectionsTrending NFT collectionsget_top_collectionsTop collections by volumeget_activityTrading activity for collections/itemsget_upcoming_dropsUpcoming NFT mints"
      },
      {
        "title": "Profile & Utility Tools",
        "body": "MCP ToolPurposeget_profileWallet profile with holdings/activityaccount_lookupResolve ENS/address/usernameget_chainsList supported chainssearchAI-powered natural language searchfetchGet full details by entity ID"
      },
      {
        "title": "Token Swaps via MCP",
        "body": "OpenSea MCP supports ERC20 token swaps across supported DEXes - not just NFTs!"
      },
      {
        "title": "Get Swap Quote",
        "body": "mcporter call opensea.get_token_swap_quote --args '{\n  \"fromContractAddress\": \"0x0000000000000000000000000000000000000000\",\n  \"fromChain\": \"base\",\n  \"toContractAddress\": \"0xb695559b26bb2c9703ef1935c37aeae9526bab07\",\n  \"toChain\": \"base\",\n  \"fromQuantity\": \"0.02\",\n  \"address\": \"0xYourWalletAddress\"\n}'\n\nParameters:\n\nfromContractAddress: Token to swap from (use 0x0000...0000 for native ETH)\ntoContractAddress: Token to swap to\nfromChain / toChain: Chain identifiers\nfromQuantity: Amount in human-readable units (e.g., \"0.02\" for 0.02 ETH)\naddress: Your wallet address\n\nResponse includes:\n\nswapQuote: Price info, fees, slippage impact\nswap.actions[0].transactionSubmissionData: Ready-to-use calldata"
      },
      {
        "title": "Execute the Swap",
        "body": "import { createWalletClient, http } from 'viem';\nimport { privateKeyToAccount } from 'viem/accounts';\nimport { base } from 'viem/chains';\n\n// Extract from swap quote response\nconst txData = response.swap.actions[0].transactionSubmissionData;\n\nconst wallet = createWalletClient({ \n  account: privateKeyToAccount(PRIVATE_KEY), \n  chain: base, \n  transport: http() \n});\n\nconst hash = await wallet.sendTransaction({\n  to: txData.to,\n  data: txData.data,\n  value: BigInt(txData.value)\n});"
      },
      {
        "title": "Check Token Balances",
        "body": "mcporter call opensea.get_token_balances --args '{\n  \"address\": \"0xYourWallet\",\n  \"chains\": [\"base\", \"ethereum\"]\n}'"
      },
      {
        "title": "Generating a wallet",
        "body": "To execute swaps or buy NFTs, you need an Ethereum wallet (private key + address)."
      },
      {
        "title": "Using Node.js",
        "body": "import crypto from 'crypto';\nimport { privateKeyToAccount } from 'viem/accounts';\n\nconst privateKey = '0x' + crypto.randomBytes(32).toString('hex');\nconst account = privateKeyToAccount(privateKey);\n\nconsole.log('Private Key:', privateKey);\nconsole.log('Address:', account.address);"
      },
      {
        "title": "Using OpenSSL",
        "body": "# Generate private key\nPRIVATE_KEY=\"0x$(openssl rand -hex 32)\"\necho \"Private Key: $PRIVATE_KEY\"\n\n# Derive address (requires node + viem)\nnode --input-type=module -e \"\nimport { privateKeyToAccount } from 'viem/accounts';\nconsole.log('Address:', privateKeyToAccount('$PRIVATE_KEY').address);\n\""
      },
      {
        "title": "Using cast (Foundry)",
        "body": "cast wallet new\n\nImportant: Store private keys securely. Never commit them to git or share publicly."
      },
      {
        "title": "Requirements",
        "body": "OPENSEA_API_KEY environment variable (for REST API scripts)\nOPENSEA_MCP_TOKEN environment variable (for MCP server, separate from API key)\ncurl for REST calls\nwebsocat (optional) for Stream API\njq (recommended) for parsing JSON responses\n\nGet both credentials at opensea.io/settings/developer."
      }
    ],
    "body": "OpenSea API\n\nQuery NFT data, trade on the Seaport marketplace, and swap ERC20 tokens across Ethereum, Base, Arbitrum, Optimism, Polygon, and more.\n\nQuick start\nSet OPENSEA_API_KEY in your environment\nRun helper scripts in scripts/ for common operations\nUse the MCP server for token swaps and advanced queries\nexport OPENSEA_API_KEY=\"your-api-key\"\n\n# Token swap: ETH to token\n./scripts/opensea-swap.sh 0xTokenAddress 0.1 0xYourWallet 0xYourKey base\n\n# Token swap: Token to token (specify from_token as last arg)\n./scripts/opensea-swap.sh 0xToToken 100 0xYourWallet 0xYourKey base 0xFromToken\n\n# Get collection info\n./scripts/opensea-collection.sh boredapeyachtclub\n\n# Get NFT details\n./scripts/opensea-nft.sh ethereum 0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d 1234\n\n# Get best listing price for an NFT\n./scripts/opensea-best-listing.sh boredapeyachtclub 1234\n\nTask guide\nToken swaps\n\nOpenSea's API includes a cross-chain DEX aggregator for swapping ERC20 tokens with optimal routing across all supported chains.\n\nTask\tTool/Script\nGet swap quote with calldata\tget_token_swap_quote (MCP) or opensea-swap.sh\nCheck token balances\tget_token_balances (MCP)\nSearch tokens\tsearch_tokens (MCP)\nGet trending tokens\tget_trending_tokens (MCP)\nGet top tokens by volume\tget_top_tokens (MCP)\nReading NFT data\nTask\tScript\nGet collection details\topensea-collection.sh <slug>\nGet collection stats\topensea-collection-stats.sh <slug>\nList NFTs in collection\topensea-collection-nfts.sh <slug> [limit] [next]\nGet single NFT\topensea-nft.sh <chain> <contract> <token_id>\nList NFTs by wallet\topensea-account-nfts.sh <chain> <address> [limit]\nMarketplace queries\nTask\tScript\nGet best listing for NFT\topensea-best-listing.sh <slug> <token_id>\nGet best offer for NFT\topensea-best-offer.sh <slug> <token_id>\nList all collection listings\topensea-listings-collection.sh <slug> [limit]\nList all collection offers\topensea-offers-collection.sh <slug> [limit]\nGet listings for specific NFT\topensea-listings-nft.sh <chain> <contract> <token_id>\nGet offers for specific NFT\topensea-offers-nft.sh <chain> <contract> <token_id>\nGet order by hash\topensea-order.sh <chain> <order_hash>\nMarketplace actions (POST)\nTask\tScript\nGet fulfillment data (buy NFT)\topensea-fulfill-listing.sh <chain> <order_hash> <buyer>\nGet fulfillment data (accept offer)\topensea-fulfill-offer.sh <chain> <order_hash> <seller> <contract> <token_id>\nGeneric POST request\topensea-post.sh <path> <json_body>\nEvents and monitoring\nTask\tScript\nGet collection events\topensea-events-collection.sh <slug> [event_type] [limit]\nStream real-time events\topensea-stream-collection.sh <slug> (requires websocat)\nGeneric requests\nTask\tScript\nAny GET endpoint\topensea-get.sh <path> [query]\nAny POST endpoint\topensea-post.sh <path> <json_body>\nBuy/Sell workflows\nBuying an NFT\n\nFind the NFT and check its listing:\n\n./scripts/opensea-best-listing.sh cool-cats-nft 1234\n\n\nGet the order hash from the response, then get fulfillment data:\n\n./scripts/opensea-fulfill-listing.sh ethereum 0x_order_hash 0x_your_wallet\n\n\nThe response contains transaction data to execute on-chain\n\nSelling an NFT (accepting an offer)\n\nCheck offers on your NFT:\n\n./scripts/opensea-best-offer.sh cool-cats-nft 1234\n\n\nGet fulfillment data for the offer:\n\n./scripts/opensea-fulfill-offer.sh ethereum 0x_offer_hash 0x_your_wallet 0x_nft_contract 1234\n\n\nExecute the returned transaction data\n\nCreating listings/offers\n\nCreating new listings and offers requires wallet signatures. Use opensea-post.sh with the Seaport order structure - see references/marketplace-api.md for full details.\n\nScripts reference\nNFT & Collection Scripts\nScript\tPurpose\nopensea-get.sh\tGeneric GET (path + optional query)\nopensea-post.sh\tGeneric POST (path + JSON body)\nopensea-collection.sh\tFetch collection by slug\nopensea-collection-stats.sh\tFetch collection statistics\nopensea-collection-nfts.sh\tList NFTs in collection\nopensea-nft.sh\tFetch single NFT by chain/contract/token\nopensea-account-nfts.sh\tList NFTs owned by wallet\nMarketplace Scripts\nScript\tPurpose\nopensea-listings-collection.sh\tAll listings for collection\nopensea-listings-nft.sh\tListings for specific NFT\nopensea-offers-collection.sh\tAll offers for collection\nopensea-offers-nft.sh\tOffers for specific NFT\nopensea-best-listing.sh\tLowest listing for NFT\nopensea-best-offer.sh\tHighest offer for NFT\nopensea-order.sh\tGet order by hash\nopensea-fulfill-listing.sh\tGet buy transaction data\nopensea-fulfill-offer.sh\tGet sell transaction data\nToken Swap Scripts\nScript\tPurpose\nopensea-swap.sh\tSwap tokens via OpenSea MCP\nMonitoring Scripts\nScript\tPurpose\nopensea-events-collection.sh\tCollection event history\nopensea-stream-collection.sh\tReal-time WebSocket events\nSupported chains\n\nethereum, matic, arbitrum, optimism, base, avalanche, klaytn, zora, blast, sepolia\n\nReferences\nreferences/rest-api.md - REST endpoint families and pagination\nreferences/marketplace-api.md - Buy/sell workflows and Seaport details\nreferences/stream-api.md - WebSocket event streaming\nreferences/seaport.md - Seaport protocol and NFT purchase execution\nreferences/token-swaps.md - Token swap workflows via MCP\nOpenSea MCP Server\n\nAn official OpenSea MCP server provides direct LLM integration for token swaps and NFT operations. When enabled, Claude can execute swaps, query token data, and interact with NFT marketplaces directly.\n\nSetup:\n\nGo to the OpenSea Developer Portal and verify your email\nGenerate a new API key for REST API access\nGenerate a separate MCP token for the MCP server\n\nAdd to your MCP config:\n\n{\n  \"mcpServers\": {\n    \"opensea\": {\n      \"url\": \"https://mcp.opensea.io/mcp\",\n      \"headers\": {\n        \"Authorization\": \"Bearer YOUR_MCP_TOKEN\"\n      }\n    }\n  }\n}\n\n\nOr use the inline token format: https://mcp.opensea.io/YOUR_MCP_TOKEN/mcp\n\nToken Swap Tools\nMCP Tool\tPurpose\nget_token_swap_quote\tGet swap calldata for token trades\nget_token_balances\tCheck wallet token holdings\nsearch_tokens\tFind tokens by name/symbol\nget_trending_tokens\tHot tokens by momentum\nget_top_tokens\tTop tokens by 24h volume\nget_tokens\tGet detailed token info\nNFT Tools\nMCP Tool\tPurpose\nsearch_collections\tSearch NFT collections\nsearch_items\tSearch individual NFTs\nget_collections\tGet detailed collection info\nget_items\tGet detailed NFT info\nget_nft_balances\tList NFTs owned by wallet\nget_trending_collections\tTrending NFT collections\nget_top_collections\tTop collections by volume\nget_activity\tTrading activity for collections/items\nget_upcoming_drops\tUpcoming NFT mints\nProfile & Utility Tools\nMCP Tool\tPurpose\nget_profile\tWallet profile with holdings/activity\naccount_lookup\tResolve ENS/address/username\nget_chains\tList supported chains\nsearch\tAI-powered natural language search\nfetch\tGet full details by entity ID\nToken Swaps via MCP\n\nOpenSea MCP supports ERC20 token swaps across supported DEXes - not just NFTs!\n\nGet Swap Quote\nmcporter call opensea.get_token_swap_quote --args '{\n  \"fromContractAddress\": \"0x0000000000000000000000000000000000000000\",\n  \"fromChain\": \"base\",\n  \"toContractAddress\": \"0xb695559b26bb2c9703ef1935c37aeae9526bab07\",\n  \"toChain\": \"base\",\n  \"fromQuantity\": \"0.02\",\n  \"address\": \"0xYourWalletAddress\"\n}'\n\n\nParameters:\n\nfromContractAddress: Token to swap from (use 0x0000...0000 for native ETH)\ntoContractAddress: Token to swap to\nfromChain / toChain: Chain identifiers\nfromQuantity: Amount in human-readable units (e.g., \"0.02\" for 0.02 ETH)\naddress: Your wallet address\n\nResponse includes:\n\nswapQuote: Price info, fees, slippage impact\nswap.actions[0].transactionSubmissionData: Ready-to-use calldata\nExecute the Swap\nimport { createWalletClient, http } from 'viem';\nimport { privateKeyToAccount } from 'viem/accounts';\nimport { base } from 'viem/chains';\n\n// Extract from swap quote response\nconst txData = response.swap.actions[0].transactionSubmissionData;\n\nconst wallet = createWalletClient({ \n  account: privateKeyToAccount(PRIVATE_KEY), \n  chain: base, \n  transport: http() \n});\n\nconst hash = await wallet.sendTransaction({\n  to: txData.to,\n  data: txData.data,\n  value: BigInt(txData.value)\n});\n\nCheck Token Balances\nmcporter call opensea.get_token_balances --args '{\n  \"address\": \"0xYourWallet\",\n  \"chains\": [\"base\", \"ethereum\"]\n}'\n\nGenerating a wallet\n\nTo execute swaps or buy NFTs, you need an Ethereum wallet (private key + address).\n\nUsing Node.js\nimport crypto from 'crypto';\nimport { privateKeyToAccount } from 'viem/accounts';\n\nconst privateKey = '0x' + crypto.randomBytes(32).toString('hex');\nconst account = privateKeyToAccount(privateKey);\n\nconsole.log('Private Key:', privateKey);\nconsole.log('Address:', account.address);\n\nUsing OpenSSL\n# Generate private key\nPRIVATE_KEY=\"0x$(openssl rand -hex 32)\"\necho \"Private Key: $PRIVATE_KEY\"\n\n# Derive address (requires node + viem)\nnode --input-type=module -e \"\nimport { privateKeyToAccount } from 'viem/accounts';\nconsole.log('Address:', privateKeyToAccount('$PRIVATE_KEY').address);\n\"\n\nUsing cast (Foundry)\ncast wallet new\n\n\nImportant: Store private keys securely. Never commit them to git or share publicly.\n\nRequirements\nOPENSEA_API_KEY environment variable (for REST API scripts)\nOPENSEA_MCP_TOKEN environment variable (for MCP server, separate from API key)\ncurl for REST calls\nwebsocat (optional) for Stream API\njq (recommended) for parsing JSON responses\n\nGet both credentials at opensea.io/settings/developer."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/dfinzer/opensea-mcp",
    "publisherUrl": "https://clawhub.ai/dfinzer/opensea-mcp",
    "owner": "dfinzer",
    "version": "1.0.2",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/opensea-mcp",
    "downloadUrl": "https://openagent3.xyz/downloads/opensea-mcp",
    "agentUrl": "https://openagent3.xyz/skills/opensea-mcp/agent",
    "manifestUrl": "https://openagent3.xyz/skills/opensea-mcp/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/opensea-mcp/agent.md"
  }
}