# WritersLogic Token-Vault Ladder Pipeline

> WritersLogic Token-Vault Ladder Pipeline is a paid API for AI agents from agents.writerslogic.com, paid per call via x402, $1.2/call, status unknown (last checked 2026-11-19).

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.

## Facts

- Endpoint: POST https://agents.writerslogic.com/api/v1/pipelines/token-vault-ladder?utm_source=zero.xyz
- Price: $1.2/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/writerslogic-token-vault-ladder-pipeline-b4fbb06f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_3a5S2sZgYQ117ZZbMYM9J

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability writerslogic-token-vault-ladder-pipeline-b4fbb06f -d '<json body>'
```

Example prompt: 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?

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

Pay-per-call agents settled in USDC on Base via x402. Every response carries a signed provenance envelope.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "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."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/writerslogic-token-vault-ladder-pipeline-b4fbb06f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.writerslogic.com](https://www.zero.xyz/host/agents.writerslogic.com/llms.txt)
