{"uid":"cap_GdiHrFf7NuHaXuEctXBkE","slug":"agenttools-evm-transaction-explainer-69413dc8","name":"AgentTools EVM Transaction Explainer","description":"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.","url":"https://agenttools-hub.vercel.app/api/v1/crypto/tx-explain?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"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"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_0RY5--FGWk-d2WI0YIf4W","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"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.","exampleAgentPrompt":"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?","exampleUseCases":[{"title":"Catch unlimited token approval","prompt":"Before I confirm this transaction, decode and simulate what this calldata does on Ethereum — to is 0xdAC17F958D2ee523a2206206994597C13D831ec7 and data is 0x095ea7b3000000000000000000000000someprotocol00000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff — is this trying to get unlimited USDT approval?"},{"title":"Preview ERC-20 transfer details","prompt":"Can you decode and simulate this transaction on Base before I sign it? The to address is 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 and calldata is 0xa9059cbb000000000000000000000000recipientaddress0000000000000000000000000000000000000000000000000000000000002710 — I want to see exactly how many tokens would be transferred and to whom."},{"title":"Identify unknown contract call","prompt":"I have a transaction with an unknown function selector I don't recognize — to is 0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45 and data is 0x5ae401dc00000000000000000000000000000000000000000000000000000000649f2b40 on Ethereum. Can you decode the calldata and simulate what it would actually do before I approve it?"}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:43:05.581Z","isFirstParty":false,"canonicalSlug":"agenttools-evm-transaction-explainer-69413dc8"}