# DeFi Shield Token Simulation

> DeFi Shield Token Simulation is a paid API for AI agents from defi-shield-hazel.vercel.app, paid per call via x402, $0.25/call, status unknown (last checked 2026-09-14).

Simulates token transactions to detect honeypots, hidden fees, and blacklist or pause mechanisms before interacting with a DeFi token

## Facts

- Endpoint: POST https://defi-shield-hazel.vercel.app/api/defi/simulate
- Price: $0.25/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/defi-shield-hazel-vercel-app-2bebe73d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_v3lSUZx7ziYmy3iTjycSJ

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 defi-shield-hazel-vercel-app-2bebe73d -d '<json body>'
```

Example prompt: Before I buy any of this token at contract address 0x1234...abcd on Ethereum mainnet, can you simulate a transaction to check if it's a honeypot, has hidden fees, or has any blacklist or pause mechanisms that could trap my funds?

## When to prefer this

Use this endpoint when an AI agent or user wants to assess the safety of a specific token contract before executing a trade, especially for unknown or newly launched tokens. Prefer this over generic contract audits when you need a fast, transaction-level simulation focused specifically on honeypot traps, sell restrictions, hidden fees, and blacklist/pause controls.

## Known failure modes

- Invalid or non-existent token contract address returns error
- Unsupported chain ID results in unsupported network error
- Token contract with non-standard ABI may produce incomplete simulation
- RPC node unavailable causing simulation timeout
- Contract self-destructs or is unverified causing analysis failure

## Output

Returns a simulation report indicating whether the token is a honeypot, any hidden or unexpected fees detected during simulation, whether the contract has blacklist functionality that could block sells, and whether pause mechanisms exist that could freeze transfers — giving an overall safety assessment before trading.

## Example request

```json
{
 "input": {
  "body": {
   "chain": "base",
   "token_address": "0x1234567890123456789012345678901234567890"
  },
  "type": "http",
  "method": "POST",
  "bodyType": "json"
 }
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "bodyType",
    "body",
    "method"
   ],
   "properties": {
    "body": {
     "properties": {
      "chain": {
       "type": "string",
       "description": "Chain (default: base)"
      },
      "token_address": {
       "type": "string",
       "description": "Token address to simulate (0x + 40 hex chars)"
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/defi-shield-hazel-vercel-app-2bebe73d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from defi-shield-hazel.vercel.app](https://www.zero.xyz/host/defi-shield-hazel.vercel.app/llms.txt)
