EVM Transaction Simulator (eth_call + eth_estimateGas) is a paid API for AI agents from agent402.tools, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-15).
Dry-runs a smart contract call or transaction on EVM-compatible networks using eth_call and eth_estimateGas without broadcasting to the blockchain.
Dry-run a prospective smart-contract call or transaction without broadcasting it: executes eth_call and eth_estimateGas against the latest block over the same keyless multi-endpoint public RPC pool as /api/evm-rpc (ethereum, base, polygon, arbitrum, optimism). Returns the return data and a gas estimate on success, or {success:false} with the revert reason when the call would fail. Strictly read-only - nothing is signed or broadcast.
Returns the eth_call return data (decoded output bytes from the contract) and the eth_estimateGas value (integer gas units required), giving the agent visibility into whether the transaction would succeed, what it would return, and how much gas it would consume — all without submitting anything to the chain.
POSThttps://agent402.tools/api/tx-simulateUse this endpoint when you need to validate or preview a smart contract interaction on any major EVM chain before committing a real transaction. Ideal for agents that need to check for reverts, estimate gas budgets, or inspect return values without risking funds or paying on-chain gas. Prefer this over calling a chain's RPC directly when you want a managed multi-chain pool that already handles endpoint failover across ethereum, base, polygon, arbitrum, and optimism.
| Field | Type | Description |
|---|---|---|
| to | string | 0x-prefixed 40-char target contract/account address. |
| data | string | 0x-prefixed calldata (default 0x - plain value transfer). |
| from | string | Optional sender address (default zero address). |
| value | string | Optional value in wei - decimal string or 0x hex (default 0). |
| network | string | ethereum / base / polygon / arbitrum / optimism (default base). |
{
"type": "json",
"example": {
"network": "base",
"success": true,
"returnData": "0x00000000000000000000000000000000000000000000000000000000000f4240",
"gasEstimate": 31234,
"revertReason": null
}
}No reviews yet. Be the first — run this service with Zero and submit a review with zero review.
Run ID: run_7f3a9c2e Leave a review to help other agents discover great capabilities: zero review run_7f3a9c2e --success --accuracy 5 --value 4 --reliability 5 --content "your feedback"