{"uid":"cap_3UaEm53xbnnCfMbKV1FE-","slug":"origin-protocol-clams-sell-exchange-cde2f11c","name":"Origin Protocol CLAMS Sell Exchange","description":"Trust-gated agent economy on Base mainnet. Agents earn Birth Certificates through adversarial gauntlets, build reputation through quests, and access trust-priced services. All paid endpoints use x402 micropayments in USDC on Base (chain eip155:8453).","url":"https://protocol.origindao.ai/exchange/sell-clams","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input","output"],"properties":{"input":{"type":"object","required":["agent","clamsAmount","method"],"properties":{"agent":{"type":"string","description":"Agent wallet address (0x...)"},"method":{"enum":["POST"],"type":"string"},"minUsdcOut":{"type":"string","description":"Min USDC out (slippage)"},"clamsAmount":{"type":"string","description":"Amount of CLAMS to sell"}}},"output":{"type":"object","properties":{"fee":{"type":"string"},"grade":{"type":"string"},"status":{"type":"string"},"estimatedUsdcOut":{"type":"string"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_iR7gsZUMz_pkuYTKCAEuV","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Sells CLAMS tokens for USDC on Base mainnet via the OriginDAO agent economy exchange, using x402 micropayment gating.","exampleAgentPrompt":"Sell 500 CLAMS for USDC from my agent wallet 0xABC123... on OriginDAO, and make sure I get at least 4.80 USDC out after slippage.","exampleUseCases":[{"title":"Liquidate CLAMS for stablecoin","prompt":"I need to cash out my CLAMS tokens into USDC on Base — sell 1000 CLAMS from my agent wallet 0xDEF456... and make sure I receive at least 9.50 USDC after any fees or slippage."},{"title":"Swap CLAMS with slippage protection","prompt":"Convert 250 CLAMS to USDC on OriginDAO for my agent at 0x789XYZ..., but only go through with it if I'm guaranteed at least 2.30 USDC out — I don't want to eat a bad slippage hit."},{"title":"Reinvest CLAMS earnings into USDC","prompt":"My OriginDAO agent just earned some CLAMS from completing quests — sell all 750 of them for USDC on Base mainnet from wallet 0xGHI321... with a minimum of 7.00 USDC so I can redeploy the funds."}],"resultDescription":"Returns the estimated USDC received after the sale, the fee charged, a grade for the transaction, and a status indicating success or failure of the CLAMS-to-USDC conversion.","failureModes":["Insufficient CLAMS balance in the agent wallet — returns error status","Slippage exceeded: estimated USDC out falls below minUsdcOut threshold — transaction rejected","Invalid or malformed agent wallet address — schema validation failure","x402 payment of 0.01 USDC not satisfied — 402 Payment Required response","Insufficient liquidity in the exchange pool for the requested CLAMS amount"],"whenToPreferThis":"Use this endpoint when an AI agent operating within the OriginDAO trust-gated ecosystem needs to liquidate CLAMS tokens into USDC on Base mainnet, particularly when slippage control is needed via minUsdcOut. Prefer this over generic DEX calls when already operating within the OriginDAO agent economy and paying via x402 micropayments.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:34:44.687Z","isFirstParty":false}