# AgentTools EVM Transaction Explainer

> AgentTools EVM Transaction Explainer is a paid API for AI agents from agenttools-hub.vercel.app, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-02).

Decodes EVM transaction calldata and simulates the call against live chain state to report what it would do — including token transfer details, approval amounts, and unlimited-approval warnings — without broadcasting anything.

## Facts

- Endpoint: GET https://agenttools-hub.vercel.app/api/v1/crypto/tx-explain?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agenttools-evm-transaction-explainer-69413dc8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_GdiHrFf7NuHaXuEctXBkE

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 agenttools-evm-transaction-explainer-69413dc8
```

Example prompt: Before I sign this transaction, can you decode and simulate what this calldata actually does on Base — the to address is 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 and the data is 0x095ea7b3000000000000000000000000someaddress0000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff — I want to know if it's an unlimited approval?

## When to prefer this

Use this endpoint when an AI agent or user needs to understand what a raw EVM transaction would do before signing — especially for security-critical scenarios like detecting unlimited token approvals or decoding unfamiliar calldata. Prefer this over generic ABI decoders because it combines calldata decoding with live chain simulation and security warnings in one call, and supports both Base and Ethereum.

## Known failure modes

- Unknown calldata selector not found in 4byte directory returns partial decode
- Simulation fails if to address is not a deployed contract on the specified chain
- Invalid hex calldata returns a parsing error
- Chain not specified defaults to a single chain and may miss cross-chain context
- RPC node unavailability can cause simulation failure
- Value parameter mismatch may cause simulation to revert differently than real execution

## How this service works

Explain what an EVM transaction would actually do: decodes the calldata (ERC-20 transfers/approvals via known ABIs, unknown selectors via the 4byte directory) and simulates the call against live chain state to report the outcome — including unlimited-approval warnings — without sending anything. Use this when an agent needs to decode and simulate a transaction — before signing it.

## Output

Returns a structured explanation of the transaction including the decoded function name and arguments (e.g. ERC-20 transfer recipient and amount, or approval spender and value), the simulated outcome against live on-chain state, and any security warnings such as unlimited token approvals — all without submitting the transaction to the network.

## 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",
      "data"
     ],
     "properties": {
      "to": {
       "type": "string",
       "description": "To address"
      },
      "data": {
       "type": "string",
       "description": "Calldata (0x hex)"
      },
      "chain": {
       "enum": [
        "base",
        "ethereum"
       ],
       "type": "string",
       "description": "Chain"
      },
      "value": {
       "type": "string",
       "description": "Value (wei, optional)"
      }
     }
    }
   },
   "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/agenttools-evm-transaction-explainer-69413dc8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agenttools-hub.vercel.app](https://www.zero.xyz/host/agenttools-hub.vercel.app/llms.txt)
