{"uid":"cap_sLC7KAiBI4wHoVEmriyFL","slug":"tollex-chain-simulate-be6e142d","name":"Tollex Chain Simulate","description":"Tollex lets software agents buy APIs and tools under rules you set: it finds a capability that fits, checks your policy before anything is signed, pays with x402 in USDC on Base or USDG on Robinhood Chain, reconciles uncertain payments and returns a signed receipt.","url":"https://api.tollex.org/tools/chain_simulate?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"to":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"data":{"type":"string","pattern":"^0x[0-9a-fA-F]*$","maxLength":200000},"from":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$"},"value":{"type":"string","pattern":"^[0-9]{1,78}$"}}},"responseSchema":{"type":"json","example":{"tool":{"id":"chain_simulate","version":"1.0.0","provider":"tollex.robinhood-chain"},"result":{"ok":true,"returnData":"0x000000000000000000000000000000000000000000000000000000003b9aca00"},"evidence":[],"untrustedOutput":false}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0079","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.0079/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0079","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0079","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_gtF2gmw1nGPBd1EDRhn1d","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0079","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 (call or value transfer) against a live or forked chain and returns the execution result without broadcasting","exampleAgentPrompt":"Simulate this EVM transaction for me — from address 0xAbCd...1234, calling contract 0x7890...EF01 with calldata 0xa9059cbb000000...0064 and zero ETH value — and tell me if it will revert or succeed.","exampleUseCases":[{"title":"DeFi swap safety check","prompt":"Before I submit this Uniswap swap transaction, can you simulate it first? From 0xMyWallet...1111 to the Uniswap router at 0xRouter...2222, with the swap calldata 0x414bf389...and 0 ETH value — I want to know if it'll succeed or revert."},{"title":"NFT mint dry-run","prompt":"Simulate this NFT mint call before I actually send it: from 0xMinter...AAAA to the contract 0xNFTContract...BBBB, calldata is 0x6a627842000000...AAAA, and value is 0 wei. Does it revert?"},{"title":"Safe multisig pre-flight check","prompt":"I'm about to execute a transaction from our Safe multisig at 0xSafe...CCCC to a DeFi protocol at 0xProtocol...DDDD with encoded calldata 0x095ea7b3... and value 0 — simulate it first so I can confirm it won't fail before the signers approve."}],"resultDescription":"Returns the outcome of the simulated EVM transaction, including whether it succeeds or reverts, a revert reason if applicable, gas used, return data, and a signed receipt. No state changes are persisted on-chain.","failureModes":["Invalid hex calldata format returns a 400 validation error","Malformed Ethereum address (not 0x + 40 hex chars) causes schema rejection","Target contract does not exist at the specified address — simulation may return empty result","Simulation of deeply recursive or out-of-gas calls may time out","Payment failure via x402 (insufficient USDC balance) blocks the request before simulation runs","Value field exceeding 78 digits is rejected by schema validation"],"whenToPreferThis":"Choose this endpoint when you need to dry-run an EVM transaction before committing it on-chain — especially when validating complex calldata, checking for reverts, or estimating gas without spending real funds. Prefer it over on-chain execution for pre-flight safety checks in DeFi, NFT minting, or multisig workflows. Compared to node-native eth_call, this adds policy-gated access, x402 micropayment billing, and a signed receipt for auditability.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T12:48:08.539Z","isFirstParty":false,"canonicalSlug":"tollex-chain-simulate-be6e142d"}