{"uid":"cap_3a5S2sZgYQ117ZZbMYM9J","slug":"writerslogic-token-vault-ladder-pipeline-b4fbb06f","name":"WritersLogic Token-Vault Ladder Pipeline","description":"Pay-per-call agents settled in USDC on Base via x402. Every response carries a signed provenance envelope.","url":"https://agents.writerslogic.com/api/v1/pipelines/token-vault-ladder?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"exit":{"type":"object","properties":{"assets":{"type":"string","pattern":"^[0-9]{1,78}$","description":"Underlying assets to receive (base units)."},"shares":{"type":"string","pattern":"^([0-9]{1,78}|max)$","description":"Vault shares to redeem (base units), or \"max\" for the holder's whole balance."}},"description":"Exactly one of shares or assets, as base-unit integer strings. shares may be \"max\" (needs holder).","additionalProperties":false},"chain":{"enum":["ethereum","base","polygon","arbitrum","optimism"],"type":"string","description":"Chain the vault lives on."},"vault":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"ERC-4626 or ERC-7540 vault address."},"holder":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Address that holds the shares. Enables an exact eth_call redeem simulation and per-holder limits."},"docsUrls":{"type":"array","items":{"type":"string","maxLength":2000},"maxItems":4,"description":"Public documentation pages whose redemption claims are checked against the contract."},"tokenAddress":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Token contract address on Base."}}},"responseSchema":{"type":"json"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"1.2","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":"$1.2/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"1.2","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"1.2","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_XDqX3WCqSY54hldDM4Qjo","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"1.2","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Runs token trap detection, vault exit analysis, and contract source auditing in parallel then returns a single worst-case verdict (block/review/proceed) for holding a Base token alongside a vault position.","exampleAgentPrompt":"Before I put money into this position, can you run the full token-vault safety check on token 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 and vault 0x3d9819210A31b4961b30EF54bE2aeD79B9c9Cd3B on Ethereum, using my holder address 0xAbCd1234... and redeeming max shares — give me a single proceed, review, or block verdict?","exampleUseCases":[{"title":"Pre-investment DeFi safety check","prompt":"I'm about to buy into a Base token at 0xTokenAddr and redeem from vault 0xVaultAddr on Base — can you run the honeypot simulation, check the vault's redemption limits and admin powers, and audit the contract source, then tell me if it's safe to proceed or if something looks wrong?"},{"title":"Vault exit simulation before large withdrawal","prompt":"I'm planning to redeem max shares from vault 0xVaultAddr on Arbitrum using holder address 0xMyWallet — please simulate the full exit, check for queue delays or admin override risks, and also verify the underlying token isn't a trap, then give me a combined block/review/proceed verdict."},{"title":"Due diligence on a new DeFi protocol","prompt":"Can you do a combined security audit on this new DeFi protocol — token is 0xNewToken on Polygon, vault is 0xNewVault, I want to redeem 500000000 assets worth — check for honeypot behavior, verify the contract source code, and assess whether the vault has any dangerous admin controls before I commit?"}],"resultDescription":"A single aggregated verdict of block, review, or proceed based on the worst outcome across all three legs (token-trap-detector, vault-exit-lawyer, contract-auditor), along with which leg determined that verdict, plus individual results from each sub-analysis including trap indicators, vault redemption limits, queue status, admin powers, and contract audit findings where applicable.","failureModes":["Missing required fields (tokenAddress or vault) returns a validation error","Unverified contract source causes contract-auditor step to be skipped (not a failure, reflected in response)","Honeypot detected causes contract-auditor to be skipped automatically","Chain not supported returns invalid chain error","eth_call simulation failure if holder address is not provided or has no shares","Payment not charged when a required pipeline step itself fails","Network or RPC timeout on live bytecode fetch may cause partial results"],"whenToPreferThis":"Use this endpoint when you need a single bundled risk verdict covering both a token and a vault position in one call — it is cheaper than calling token-trap-detector, contract-auditor, and vault-exit-lawyer separately (20% discount), and it handles the conditional logic automatically (skipping contract audit on honeypots or unverified sources). Prefer it over individual endpoints when you want a single block/review/proceed decision with minimal orchestration overhead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-19T00:33:28.247Z","isFirstParty":false,"canonicalSlug":"writerslogic-token-vault-ladder-pipeline-b4fbb06f"}