# WritersLogic Token Due Diligence Bundle

> WritersLogic Token Due Diligence Bundle is a paid API for AI agents from agents.writerslogic.com, paid per call via x402, $1/call, status unknown (last checked 2026-11-17).

Runs honeypot/rug detection on live Base bytecode plus a Solidity source audit in a single bundled paid call, refusing unverified tokens before charging

## Facts

- Endpoint: POST https://agents.writerslogic.com/api/v1/bundles/token-due-diligence?utm_source=zero.xyz
- Price: $1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/writerslogic-token-due-diligence-bundle-7b12da60
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_YMmw88iqHY9cUTGF0oELS

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-due-diligence-bundle-7b12da60 -d '<json body>'
```

Example prompt: Can you run a full due diligence check on the Base token at 0x1234567890abcdef1234567890abcdef12345678 — screen it for honeypot traps and do a Solidity source audit?

## When to prefer this

Use this endpoint when you need both honeypot detection and Solidity source auditing for a Base token in a single atomic call at a discount. Prefer it over calling token-trap-detector and contract-auditor separately when cost efficiency matters and the token's source is verifiable on Sourcify. Best for pre-investment due diligence pipelines, trading bots performing safety checks, or DeFi researchers screening tokens at scale.

## Known failure modes

- Unverified token contract (not on Sourcify) — rejected before charge with an error indicating source unavailability
- Invalid or non-Base contract address — rejected with a validation error
- Contract bytecode unreachable on Base — runtime fetch failure
- Source code exceeds 100,000 character limit — input validation error
- Partial sub-check failure — neither check is charged if one fails
- Sourcify proxy resolution failure — cannot follow EIP-1967 chain to implementation

## How this service works

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

## Output

Returns combined results from both a honeypot/rug trap detector (analyzing live Base bytecode for transfer restrictions, hidden fees, and trap patterns) and a Solidity source code auditor (identifying vulnerabilities, access control issues, and risky patterns). The source is auto-fetched from Sourcify if not provided, following EIP-1967/zeppelinos proxy chains to the implementation. Unverified contracts are rejected before any charge is applied. Charged at $1.00 USDC only when both sub-checks complete successfully (20% discount vs buying separately).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "sourceCode": {
   "type": "string",
   "maxLength": 100000,
   "minLength": 1,
   "description": "Solidity source; fetched from Sourcify when omitted."
  },
  "contractName": {
   "type": "string",
   "maxLength": 200,
   "description": "Contract to focus on when several are present."
  },
  "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-due-diligence-bundle-7b12da60/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)
