{"uid":"cap_gv2_UcQVLEdmNGIGe1gwM","slug":"evm-transaction-simulator-raw-tenderly-trace-cc4f182f","name":"EVM Transaction Simulator (Raw Tenderly Trace)","description":"Simulate an EVM transaction and return execution details including success status, gas usage, and the full Tenderly trace. Designed for agents that need raw simulation data without risk interpretation.","url":"https://x402.blocknotify.com/v1/simulate-transaction","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"to":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Destination address (contract or EOA)."},"data":{"type":"string","pattern":"^0x[a-fA-F0-9]*$","description":"Calldata as a 0x-prefixed hex string. Use \"0x\" for plain native-value transfers."},"from":{"type":"string","pattern":"^0x[a-fA-F0-9]{40}$","description":"Sender address (the wallet that would sign and broadcast)."},"chain":{"enum":["ethereum","polygon","arbitrum","optimism","base"],"type":"string","description":"Target EVM chain. The merchant maps this to the appropriate RPC for simulation."},"value":{"type":"string","description":"Native value in wei. Decimal (\"1000000000000000000\" = 1 ETH) or 0x-prefixed hex (\"0xde0b6b3a7640000\"). Use \"0x0\" for token-only transactions."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.03","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.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_3XYHv7g1dT3Q5ZRxuDxIl","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","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 on a specified chain and returns execution details including success status, gas usage, and the full Tenderly trace, without any risk interpretation.","exampleAgentPrompt":"Simulate this transaction for me before I send it — from 0xAbC...123 to 0xDeF...456 on Base, with calldata 0xa9059cbb...0001 and 0 ETH value — and give me the raw Tenderly trace with gas usage and whether it would succeed.","exampleUseCases":[{"title":"Pre-flight check for contract deployment","prompt":"Before I deploy this contract, simulate the transaction from 0x1234...abcd to 0x0000...0000 on Ethereum with this calldata 0x608060... and 0 ETH value — I need the full Tenderly trace and gas used so I can tune the gas limit."},{"title":"Debug a reverting DeFi swap","prompt":"My Uniswap swap keeps reverting — can you simulate it on Arbitrum from 0xSender...111 to 0xUniswap...Router with calldata 0x38ed1739... and 0 ETH value, then show me the raw execution trace so I can see exactly where it fails?"},{"title":"Estimate gas for a multisig proposal","prompt":"I'm about to submit a multisig proposal — simulate the call from 0xMultisig...AAA to 0xTarget...BBB on Optimism with calldata 0x6a761202... and value 500000000000000000 wei, and tell me the gas it would consume and whether it succeeds."}],"resultDescription":"Returns the transaction simulation result including whether the transaction would succeed or revert, the amount of gas consumed, and the full Tenderly execution trace showing every internal call, state change, and event emitted during the simulated execution.","failureModes":["Invalid or malformed Ethereum address for 'to' or 'from' fields returns a validation error","Unsupported chain value outside the allowed enum causes a 400 error","Malformed calldata that is not valid hex triggers a schema validation failure","Simulation may fail if the sender address has insufficient balance on-chain for the given value","Contract not deployed on the specified chain results in a simulation revert","RPC or Tenderly upstream outage causes a 500 or timeout error","Payment of $0.03 USDC via x402 must succeed before simulation is executed"],"whenToPreferThis":"Choose this endpoint when you need the raw, uninterpreted Tenderly simulation trace — for debugging contract behavior, tuning gas limits, or building your own risk logic on top. Unlike the sibling safety-analysis endpoints on blocknotify.com, this endpoint returns the full execution trace without higher-level risk scoring or approval detection. Prefer this when you want complete, low-level simulation data rather than a curated safety verdict.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:30:45.217Z","isFirstParty":false}