{"uid":"cap_WneTbNFdt-j00X8GoweNV","slug":"sitecheck-evm-transaction-simulator-b7ee0a24","name":"SiteCheck EVM Transaction Simulator","description":"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.","url":"https://api.sitecheck-api.workers.dev/api/evm/simulate?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"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)"}}},"responseSchema":{"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}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_CLlETcBZFdaA8456h1bOh","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Simulates an EVM smart contract transaction (eth_call) to preview success, return data, gas estimate, and revert reason without executing on-chain","exampleAgentPrompt":"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?","exampleUseCases":[{"title":"Dry-run ERC-20 transfer before execution","prompt":"Simulate an ERC-20 transfer call on Ethereum — to contract 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48, from 0xDEADBEEF00000000000000000000000000000001, with calldata 0xa9059cbb000000000000000000000000recipient00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000de0b6b3a7640000 — will it succeed and how much gas will it use?"},{"title":"Debug a reverting DeFi transaction","prompt":"I have a transaction that keeps reverting on Arbitrum — can you simulate it for me? The target is 0x1F98431c8aD98523631AE4a59f267346ea31F984, calldata is 0x128acb08, sent from 0xMySenderAddress0000000000000000000000000001, and tell me the revert reason so I know what's going wrong."},{"title":"Validate swap calldata on Base before broadcasting","prompt":"Before I broadcast this swap on Base, simulate the call to 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 with calldata 0x095ea7b3 from 0xMyWallet000000000000000000000000000000001 and confirm it won't revert and give me the gas estimate."}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-23T12:43:29.050Z","isFirstParty":false,"canonicalSlug":"sitecheck-evm-transaction-simulator-b7ee0a24"}