# DopamineDesk Transaction Preflight Security Check

> DopamineDesk Transaction Preflight Security Check is a paid API for AI agents from ai-data-marketplace-1042299154756.us-central1.run.app, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-15).

Simulates and security-screens an EVM transaction before broadcast, returning a safety decision and evidence from multiple on-chain checks.

## Facts

- Endpoint: GET https://ai-data-marketplace-1042299154756.us-central1.run.app/api/v1/transaction_preflight
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/dopaminedesk-transaction-preflight-security-check-3edfa7f8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mp2ECtpnZp9V4whnTpmEv

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 dopaminedesk-transaction-preflight-security-check-3edfa7f8
```

Example prompt: Before I sign this transaction, run a preflight security check on it — the destination is 0xAbC123... on Base, the calldata is 0xa9059cbb..., and the token contract is 0xDef456... — tell me if there are any obvious issues I should know about.

## When to prefer this

Use this endpoint when an AI agent needs to screen an EVM transaction for security risks before signing or broadcasting — especially useful for token approvals, DeFi interactions, and interactions with unknown contracts. Prefer over manual review when operating autonomously on behalf of users on Base, Ethereum, or Arbitrum, and when a lightweight per-call USDC fee ($0.012) is acceptable in exchange for automated multi-source security evidence.

## Known failure modes

- Invalid or malformed hex calldata returns an error
- Unsupported chain identifier causes rejection
- Unresolvable contract address yields incomplete evidence
- GoPlus security service unavailability may reduce checks_completed count
- Missing required 'to' field causes validation failure

## How this service works

Run a transaction simulation and EVM safety preflight with gas, destination proxy evidence, and optional token security and allowance checks in one decision-ready report.

## Output

Returns a JSON object with a boolean success flag, a safety decision string (e.g. 'no_obvious_issue_detected'), a broadcast recommendation flag, and the count of security checks completed against the transaction.

## Request schema (JSON Schema)

```json
{
 "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": [
      "to"
     ],
     "properties": {
      "to": {
       "type": "string",
       "description": "Destination contract or wallet address."
      },
      "data": {
       "type": "string",
       "description": "Hex calldata; defaults to 0x."
      },
      "from": {
       "type": "string",
       "description": "Optional sender address for simulation."
      },
      "chain": {
       "type": "string",
       "description": "base, ethereum, or arbitrum; defaults to base."
      },
      "value": {
       "type": "string",
       "description": "Hex native-token value; defaults to 0x0."
      },
      "spender": {
       "type": "string",
       "description": "Optional spender for allowance evidence when from and token_contract are supplied."
      },
      "token_contract": {
       "type": "string",
       "description": "Optional token contract for GoPlus security evidence."
      }
     },
     "additionalProperties": true
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "success",
      "broadcast",
      "decision",
      "checks_completed"
     ],
     "properties": {
      "success": {
       "type": "boolean"
      },
      "decision": {
       "type": "string"
      },
      "broadcast": {
       "type": "boolean"
      },
      "checks_completed": {
       "type": "integer"
      }
     },
     "additionalProperties": true
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "success": true,
  "decision": "no_obvious_issue_detected",
  "broadcast": false,
  "checks_completed": 3
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/dopaminedesk-transaction-preflight-security-check-3edfa7f8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from ai-data-marketplace-1042299154756.us-central1.run.app](https://www.zero.xyz/host/ai-data-marketplace-1042299154756.us-central1.run.app/llms.txt)
