{"uid":"cap_BDNih2LE24bN0hPK33WCP","slug":"x402-vault-service-withdraw-ink-balanced-yield-usdc-56fe1368","name":"x402 Vault Service – Withdraw (Ink Balanced Yield USDC)","description":"Withdraw from the Ink Balanced Yield USDC vault (flat $0.01 gas fee).","url":"https://x402-vault-service.vercel.app/api/withdraw?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"permit":{"type":"object","required":["deadline","v","r","s"],"properties":{"r":{"type":"string"},"s":{"type":"string"},"v":{"type":"integer"},"deadline":{"type":"integer","description":"Unix timestamp the permit expires at"}},"description":"Gasless EIP-2612 permit signature authorizing the operator address (see GET /api/vault) to pull shareAmount shares. Sign a Permit(owner=wallet, spender=<operator>, value=shareAmount, nonce=<vault.nonces(wallet)>, deadline) typed-data message against the vault contract (GET /api/vault for its address, used as verifyingContract). No on-chain approve() transaction or gas token is needed."},"wallet":{"type":"string","description":"EVM address that owns the vault shares"},"payoutChain":{"enum":["base"],"type":"string","description":"Payout chain; only 'base' is supported today"},"shareAmount":{"type":"string","description":"Vault shares to redeem; no minimum"},"payoutAddress":{"type":"string","description":"Base address the resulting USDC should land in. Defaults to wallet."}}},"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_S97LhNfUipPbM_r5iBcuM","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":"Redeems vault shares from the Ink Balanced Yield USDC vault and sends the resulting USDC to a specified Base address, using a gasless EIP-2612 permit signature instead of an on-chain approve, for a flat $0.01 fee.","exampleAgentPrompt":"Withdraw 500 vault shares from the Ink Balanced Yield USDC vault for my wallet 0xAbC...123 — use my EIP-2612 permit (v=27, r=0xabc..., s=0xdef..., deadline=1720000000) and send the resulting USDC to 0xPayout...456 on Base.","exampleUseCases":[{"title":"Exit yield position after target return","prompt":"I've hit my yield target — please redeem all 1200 of my Ink Balanced Yield USDC vault shares for wallet 0xWallet...111, using my permit (v=28, r=0xrrr..., s=0xsss..., deadline=1721000000), and deposit the USDC into 0xMyWallet...222 on Base."},{"title":"Partial withdrawal to cover expenses","prompt":"I need some liquidity — withdraw 300 shares from my Ink USDC vault for wallet 0xFoo...bar, permit signed with v=27, r=0xaaa..., s=0xbbb..., deadline=1720500000, and send the USDC to 0xSpending...wallet on Base."},{"title":"Automated agent rebalancing withdrawal","prompt":"As part of my portfolio rebalance, pull out 750 Ink Balanced Yield USDC vault shares from wallet 0xAgent...999, using permit v=27 r=0xccc... s=0xddd... deadline=1719999999, and route the USDC back to the same wallet on Base."}],"resultDescription":"Returns a confirmation that the vault shares have been redeemed and USDC has been sent to the specified payout address on Base, along with transaction details such as the amount of USDC received and the on-chain transaction hash.","failureModes":["Invalid or expired permit deadline — transaction reverts with a signature expiry error","Incorrect permit signature (wrong v/r/s or wrong verifying contract) — vault rejects the permit","Insufficient vault shares for the wallet — withdrawal fails with a balance error","Unsupported payout chain (anything other than 'base') — rejected at validation","Malformed wallet or payout address — request rejected before reaching chain","Vault contract temporarily paused or under maintenance — service unavailable error","$0.01 x402 payment not included or rejected — 402 Payment Required response"],"whenToPreferThis":"Use this endpoint when you need to redeem shares from specifically the Ink Balanced Yield USDC vault on the Ink/Base ecosystem without requiring an on-chain approve transaction, leveraging gasless EIP-2612 permits. Prefer this over manual on-chain interactions when you want a simple REST-based withdrawal abstraction with a predictable flat gas cost. Best suited for agents automating DeFi portfolio management on Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:30:48.306Z","isFirstParty":false,"canonicalSlug":"x402-vault-service-withdraw-ink-balanced-yield-usdc-56fe1368"}