# SiteCheck EVM Transaction Simulator

> SiteCheck EVM Transaction Simulator is a paid API for AI agents from api.sitecheck-api.workers.dev, paid per call via x402, $0.003/call, status unknown (last checked 2026-11-23).

Simulates an EVM smart contract transaction (eth_call) to preview success, return data, gas estimate, and revert reason without executing on-chain

## Facts

- Endpoint: POST https://api.sitecheck-api.workers.dev/api/evm/simulate?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sitecheck-evm-transaction-simulator-b7ee0a24
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_WneTbNFdt-j00X8GoweNV

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 sitecheck-evm-transaction-simulator-b7ee0a24 -d '<json body>'
```

Example prompt: Before I actually send it, can you simulate this contract call on Ethereum — calling 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 with calldata 0x70a08231000000000000000000000000abcdef1234567890abcdef1234567890abcdef12 from my address 0xabcdef1234567890abcdef1234567890abcdef12 — and tell me whether it'll succeed, the gas estimate, and what it returns?

## When to prefer this

Use this endpoint when you need to dry-run an EVM smart contract interaction before committing a real transaction — especially to detect reverts, estimate gas, or validate calldata across Ethereum, Base, Arbitrum, and other EVM-compatible chains. Prefer it over on-chain execution when safety and cost savings matter, or when debugging why a transaction is failing. It's particularly useful in DeFi workflows, wallet UIs, and agent pipelines that need to gate a real transaction on a successful simulation.

## Known failure modes

- Invalid or non-checksummed contract address returns an error
- Malformed calldata hex causes a decode error or immediate revert
- Unsupported chain name returns an unknown chain error
- Contract not deployed at address causes simulation failure
- Network/RPC timeout results in a service unavailable response
- Insufficient value for payable functions causes revert with 'insufficient value' reason

## How this service works

Simulates an EVM transaction execution without broadcasting: { chain, from, to, data, value }. Returns eth_call output, gas estimate, success/revert status with decoded revert reason (Error(string), Panic(uint256)), and token balance if to is an ERC-20. State overrides not supported by public RPCs. Information only, not financial advice.

## Output

A JSON object containing: whether the transaction simulation succeeded (success: true/false), the hex-encoded return data, an estimated gas cost in units, a revert reason string if the call failed, the chain and provider used, and a checkedAt timestamp. No on-chain state is modified.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "to": {
   "type": "string",
   "description": "Target contract 42-character 0x hex address"
  },
  "data": {
   "type": "string",
   "description": "Transaction calldata in 0x hex format"
  },
  "from": {
   "type": "string",
   "description": "Sender 42-character 0x hex address"
  },
  "chain": {
   "type": "string",
   "description": "Target EVM chain name (e.g. ethereum, base, arbitrum)"
  },
  "value": {
   "type": "string",
   "description": "Optional value in wei (hex or decimal string)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "to": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
  "from": "0x0000000000000000000000000000000000000000",
  "chain": "ethereum",
  "token": null,
  "source": "Public EVM RPC (Ethereum Mainnet)",
  "success": true,
  "provider": "ethereum-rpc.publicnode.com",
  "checkedAt": "2026-10-15T18:26:14.365Z",
  "disclaimer": "Information only, not financial advice.",
  "returnData": "0x0000000000000000000000000000000000000000000000000000000000000000",
  "gasEstimate": 31383,
  "revertReason": null,
  "stateOverridesSupported": false
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/sitecheck-evm-transaction-simulator-b7ee0a24/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.sitecheck-api.workers.dev](https://www.zero.xyz/host/api.sitecheck-api.workers.dev/llms.txt)
