{"uid":"cap_huYoJIWipivY-d6Cf-FPo","slug":"speraxos-dca-withdraw-position-bde5139d","name":"SperaxOS DCA Withdraw Position","description":"SperaxOS is an AI-powered DeFi operating system — track portfolios, execute swaps, analyze on-chain data, and collaborate with intelligent agents that manage your crypto workflow.","url":"https://chat.sperax.io/api/x402/tools/dca/withdrawPosition?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"chain":{"type":"string","description":"Chain where the position exists."},"positionId":{"type":"string","description":"The Mean Finance position ID to withdraw from."},"walletAddress":{"type":"string","description":"The user's wallet address to receive withdrawn tokens. If available, pass from the connected wallet context."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_1n8jtuSl80nVTqi6nX63W","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0xD74f5255D557944cf7Dd0E45FF521520002D5748","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Withdraws funds from an existing Dollar-Cost Averaging (DCA) position on Mean Finance, returning tokens to the user's wallet.","exampleAgentPrompt":"Withdraw my Mean Finance DCA position with ID 12345 on Arbitrum and send the tokens back to my wallet 0xAbc...123.","exampleUseCases":[{"title":"Exit a DCA strategy early","prompt":"I want to cancel my DCA position on Arbitrum — the position ID is 98765 — and withdraw all remaining tokens back to my wallet at 0xDef...456."},{"title":"Recover funds from completed DCA","prompt":"My DCA strategy on Optimism finished its last swap. Can you withdraw position 55321 and send everything back to 0x789...abc?"},{"title":"Stop automated recurring buys","prompt":"I changed my mind about my dollar-cost averaging plan. Please close position 11223 on Polygon and return whatever tokens are left to my wallet 0xFed...321."}],"resultDescription":"Returns confirmation of the withdrawal transaction, including transaction hash and details of tokens returned to the specified wallet address from the Mean Finance DCA position.","failureModes":["Invalid or non-existent position ID returns an error","Position already fully executed or closed cannot be withdrawn again","Unsupported chain value causes request rejection","Wallet address mismatch or invalid format returns validation error","Insufficient permissions if wallet does not own the position","Network congestion or RPC failures may cause transaction delays"],"whenToPreferThis":"Use this endpoint when a user wants to exit, cancel, or withdraw from an active or partially-executed Mean Finance DCA position on a supported EVM chain. Prefer this over generic swap or transfer endpoints when the specific action is closing a recurring DCA strategy and recovering remaining tokens.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-21T12:38:04.017Z","isFirstParty":false,"canonicalSlug":"speraxos-dca-withdraw-position-bde5139d"}