# Freysa Intelligence Transaction Simulator

> Freysa Intelligence Transaction Simulator is a paid API for AI agents from economic-agent-369.freysa.dev, paid per call via x402, $1/call, status unknown (last checked 2026-09-16).

Simulates an EVM transaction to assess risk, estimated token flows, and safety before execution

## Facts

- Endpoint: GET https://economic-agent-369.freysa.dev/api/transaction-simulator
- Price: $1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/freysa-intelligence-transaction-simulator-801f59d5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_U3j_NRc29rDWmRxtiC7yx

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 freysa-intelligence-transaction-simulator-801f59d5
```

Example prompt: Before I approve this transaction, can you simulate it and tell me the risk level — I'm swapping 1 ETH for XYZ tokens and want to know how many tokens I'd receive and whether it looks safe?

## When to prefer this

Use this endpoint when an autonomous agent or user needs to preview and risk-assess an EVM transaction before committing it on-chain — especially for token swaps, DeFi interactions, or any contract call involving unknown tokens. Prefer this over generic blockchain RPC calls when you need a human-readable risk verdict and token flow estimate, not just raw simulation data.

## Known failure modes

- Malformed transaction schema returns validation error
- Unsupported chain or contract type may yield incomplete simulation
- Network congestion or RPC errors may cause timeouts
- Insufficient USDC balance for x402 payment prevents call
- Novel or unverified contracts may produce uncertain risk assessments

## How this service works

Security intelligence layer for autonomous agents. On-chain security, token risk analysis, wallet forensics, and transaction simulation. Pay-per-call via x402 on Base.

## Output

Returns a simulation result object containing a risk level (e.g. low/medium/high), the amount of tokens spent, and the tokens expected to be received from the transaction, along with any flagged concerns about the trade or contract interaction.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "chain": {
   "type": "string",
   "default": "base",
   "description": "Blockchain"
  },
  "tx_data": {
   "type": "string",
   "description": "Calldata"
  },
  "to_address": {
   "type": "string",
   "description": "Destination"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "example": {
  "transaction_simulator": {
   "risk": "medium",
   "tokens_spent": "1 ETH",
   "tokens_received": "5000 XYZ"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/freysa-intelligence-transaction-simulator-801f59d5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from economic-agent-369.freysa.dev](https://www.zero.xyz/host/economic-agent-369.freysa.dev/llms.txt)
