{"uid":"cap_vNbm2XQAFOHMm5eM4jzPR","slug":"barker-execution-quote-e5ca635f","name":"Barker Execution Quote","description":"EXECUTION QUOTE (non-custodial): buy an unsigned, ready-to-sign transaction that deposits into or redeems from a stablecoin vault. Returns transaction_request {chainId,from,to,data,value} + route + risk summary + approval info. Barker NEVER broadcasts and never holds funds — return the transaction to YOUR user's wallet to sign; vault shares always go to signer_address…","url":"https://mcp.barker.money/barker_execution_quote?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["pool_uid","amount_base_units","signer_address"],"properties":{"action":{"enum":["deposit","redeem"],"type":"string","description":"Default deposit"},"amount":{"type":"string","description":"Same amount in human units (\"1000\" = 1000 USDC), converted server-side using the pool's own asset decimals. Use this if you don't want to compute base units yourself. Alternative to amount_base_units."},"chain_id":{"type":"integer","description":"Optional, only useful when pool_uid is a contract address that is deployed at the same address on several chains (e.g. Aave aTokens). EVM chain id, e.g. 8453 for Base."},"pool_uid":{"type":"string","description":"Either the exact pool_uid from barker_executable_pools (copy verbatim), OR the vault contract address (0x + 40 hex) if that is what you already have — no discovery call needed. Both are matched exactly; partial names and keywords are rejected (POOL_NOT_FOUND), because this is a money path and Barker never guesses the pool. If one contract hosts several products (e.g. Pendle PT vs LP), you get 409 POOL_AMBIGUOUS with the exact candidates to choose from."},"slippage":{"type":"number","description":"Optional slippage tolerance, e.g. 0.005"},"signer_address":{"type":"string","description":"EVM address that will sign AND receive vault shares / redeemed assets. Mandatory — it is the tx sender and the share recipient, so Barker can never infer or default it."},"amount_base_units":{"type":"string","description":"Integer amount in token base units (1 USDC = 1000000). For redeem: underlying assets to withdraw. Send either this OR `amount` — not both (they are cross-checked and a mismatch is rejected)."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_9rayW3lrNhM7dE5nP1SpE","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x779ded0c9e1022225f8e0630b35a9b54be713736","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns an unsigned, ready-to-sign EVM transaction for depositing into or redeeming from a stablecoin vault, along with route details, risk summary, and approval info — without ever broadcasting or holding funds.","exampleAgentPrompt":"Get me an unsigned deposit transaction for 500 USDC (500000000 base units) into the Barker pool 'aave-v3-usdc-mainnet' for my wallet 0xAbC...1234 to sign, with 0.5% slippage tolerance.","exampleUseCases":[{"title":"Agent auto-deposits idle stablecoins","prompt":"My wallet 0xDe...5678 has 1000 USDC sitting idle — build me a deposit transaction into the top Barker yield pool (pool ID 'compound-v3-usdc-eth') for 1000000000 base units so I can sign it and start earning yield."},{"title":"Redeem vault position to stablecoins","prompt":"I want to pull out 250 USDC worth (250000000 base units) from my position in pool 'morpho-usdc-blue' — give me the unsigned redeem transaction for my wallet 0xFe...9999 to sign, with 1% slippage."},{"title":"DeFi portfolio rebalancing workflow","prompt":"As part of rebalancing my stablecoin portfolio, prepare a deposit transaction of 2000000000 base units into pool 'spark-usds-mainnet' for signer address 0x11...AAAA — I'll review and sign it myself."}],"resultDescription":"A JSON object containing a transaction_request with chainId, from, to, data, and value fields (ready to pass to a wallet for signing), along with the selected route, a risk summary for the vault, and any required token approval details. Vault shares or redeemed assets always go to signer_address. Barker never broadcasts the transaction.","failureModes":["Invalid pool_uid returns an error indicating the pool is not found or not executable","Invalid or malformed signer_address causes a 400 validation error","amount_base_units of zero or below minimum threshold returns an error","Pool not available for the requested action (deposit vs redeem) returns unsupported action error","Slippage too tight may return a route unavailable or insufficient liquidity error","Network or RPC timeout may result in a 500 or timeout error"],"whenToPreferThis":"Use this endpoint when you need a fully constructed, unsigned EVM transaction for a stablecoin vault deposit or redemption that the user's own wallet will sign — ensuring non-custodial execution. Prefer this over generic DeFi aggregators when you need Barker's route selection, risk summary, and guaranteed non-broadcast guarantee in one call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T06:35:00.357Z","isFirstParty":false,"canonicalSlug":"barker-execution-quote-e5ca635f"}