{"uid":"cap_PFazm1moGofkM0COo3g0Y","slug":"evm-transaction-simulator-eth-call-dry-run-f4ac0f3d","name":"EVM Transaction Simulator (eth_call Dry Run)","description":"Simulate an EVM transaction via static eth_call before sending - predicts return data, revert reason and estimated gas without broadcasting, on Ethereum/Base/Arbitrum/Optimism. tx simulate, transaction simulation, dry run transaction, will tx revert, estimate gas, preflight tx","url":"https://api.x402node.dev/chain/tx-simulate","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"to":{"type":"string","description":"Target contract address (required)"},"data":{"type":"string","description":"Hex calldata, default 0x"},"from":{"type":"string","description":"Sender address (optional)"},"chain":{"type":"string","description":"ethereum, base (default), arbitrum, optimism"},"value":{"type":"string","description":"Wei value as decimal string, default 0"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_jml8EqTOVOQLxL2qq1A0q","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Simulates an EVM transaction via static eth_call to predict return data, revert reason, and estimated gas without broadcasting to the network","exampleAgentPrompt":"Before I send this transaction, simulate it on Base — from 0xABC...123 to the USDC contract at 0xA0b8...EB48, calling transfer(0xDEF...456, 1000000) with 0 ETH value — and tell me if it will revert and what gas it would use.","exampleUseCases":[{"title":"Preflight DeFi swap before sending","prompt":"Before I submit this swap on Uniswap V3 on Arbitrum, simulate the transaction for me — from my wallet 0xABC...111 to the router at 0xE592...7d, calling exactInputSingle with WETH to USDC for 0.5 ETH — and tell me if it will succeed or revert, and how much gas it will consume."},{"title":"Debug reverting contract call","prompt":"My transaction keeps failing on Ethereum mainnet and I don't know why. Can you dry run the call from 0x123...ABC to the Aave lending pool at 0x7d2...F3, calling borrow() with my parameters, and tell me the exact revert reason so I can figure out what's wrong?"},{"title":"Estimate gas for complex contract interaction","prompt":"I want to know how much gas a complex multi-step interaction will use before I actually send it — simulate a call from 0xDEF...999 to the Optimism contract at 0x4200...10 with the encoded calldata I have, and give me the estimated gas units so I can set an appropriate gas limit."}],"resultDescription":"Returns whether the transaction would succeed or revert, the revert reason if applicable, the decoded return data from the call, and the estimated gas units required — all without broadcasting anything to the chain.","failureModes":["Invalid or malformed transaction parameters return a 400 error","Unsupported chain ID returns an error indicating the chain is not supported","RPC node unavailable for the requested chain causes a timeout or 503","Simulation itself may succeed even if the live tx fails due to state changes between simulation and broadcast","Missing required fields (from, to, data) return validation errors"],"whenToPreferThis":"Use this endpoint when you need to preflight an EVM transaction before submitting it — to catch reverts, decode return values, or estimate gas — without spending any real gas or risking funds. Ideal for DeFi automation, smart contract interactions, and agent workflows where safety checks are critical before broadcasting. Supports Ethereum mainnet, Base, Arbitrum, and Optimism.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:50:48.370Z","isFirstParty":false}