# EVM Transaction Simulator (Raw Tenderly Trace)

> EVM Transaction Simulator (Raw Tenderly Trace) is a paid API for AI agents from x402.blocknotify.com, paid per call via x402, $0.03/call, status unknown (last checked 2026-09-14).

Simulates an EVM transaction on a specified chain and returns execution details including success status, gas usage, and the full Tenderly trace, without any risk interpretation.

## Facts

- Endpoint: POST https://x402.blocknotify.com/v1/simulate-transaction
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/evm-transaction-simulator-raw-tenderly-trace-cc4f182f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gv2_UcQVLEdmNGIGe1gwM

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 evm-transaction-simulator-raw-tenderly-trace-cc4f182f -d '<json body>'
```

Example prompt: Simulate this transaction for me before I send it — from 0xAbC...123 to 0xDeF...456 on Base, with calldata 0xa9059cbb...0001 and 0 ETH value — and give me the raw Tenderly trace with gas usage and whether it would succeed.

## When to prefer this

Choose this endpoint when you need the raw, uninterpreted Tenderly simulation trace — for debugging contract behavior, tuning gas limits, or building your own risk logic on top. Unlike the sibling safety-analysis endpoints on blocknotify.com, this endpoint returns the full execution trace without higher-level risk scoring or approval detection. Prefer this when you want complete, low-level simulation data rather than a curated safety verdict.

## Known failure modes

- Invalid or malformed Ethereum address for 'to' or 'from' fields returns a validation error
- Unsupported chain value outside the allowed enum causes a 400 error
- Malformed calldata that is not valid hex triggers a schema validation failure
- Simulation may fail if the sender address has insufficient balance on-chain for the given value
- Contract not deployed on the specified chain results in a simulation revert
- RPC or Tenderly upstream outage causes a 500 or timeout error
- Payment of $0.03 USDC via x402 must succeed before simulation is executed

## How this service works

Simulate an EVM transaction and return execution details including success status, gas usage, and the full Tenderly trace. Designed for agents that need raw simulation data without risk interpretation.

## Output

Returns the transaction simulation result including whether the transaction would succeed or revert, the amount of gas consumed, and the full Tenderly execution trace showing every internal call, state change, and event emitted during the simulated execution.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "to": {
   "type": "string",
   "pattern": "^0x[a-fA-F0-9]{40}$",
   "description": "Destination address (contract or EOA)."
  },
  "data": {
   "type": "string",
   "pattern": "^0x[a-fA-F0-9]*$",
   "description": "Calldata as a 0x-prefixed hex string. Use \"0x\" for plain native-value transfers."
  },
  "from": {
   "type": "string",
   "pattern": "^0x[a-fA-F0-9]{40}$",
   "description": "Sender address (the wallet that would sign and broadcast)."
  },
  "chain": {
   "enum": [
    "ethereum",
    "polygon",
    "arbitrum",
    "optimism",
    "base"
   ],
   "type": "string",
   "description": "Target EVM chain. The merchant maps this to the appropriate RPC for simulation."
  },
  "value": {
   "type": "string",
   "description": "Native value in wei. Decimal (\"1000000000000000000\" = 1 ETH) or 0x-prefixed hex (\"0xde0b6b3a7640000\"). Use \"0x0\" for token-only transactions."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/evm-transaction-simulator-raw-tenderly-trace-cc4f182f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.blocknotify.com](https://www.zero.xyz/host/x402.blocknotify.com/llms.txt)
