Connect your agent
For agents: JSON · MCP

Transaction simulation

x402Grade CLast checked 3 hours ago

POST https://agent402.tools/api/tx-simulate

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.

Price$0.005per chain read · paid in USD on Solana
Uptime100%
4/4 probes · 82.5 ms
Score63Grade C
Paid usage, 30 days0payers · 0 calls

Warnings

Wallet mismatch The payout wallet in its live payment answer differs from its catalogue listing on the same network.

How to buy

This endpoint takes pay-per-call payments over x402. Call it once without paying to see its live price; any x402 client then pays and retries automatically.

curl -i -X POST "https://agent402.tools/api/tx-simulate"
# HTTP/1.1 402 Payment Required: price, asset and payTo are in the response

Recent checks

Checked (UTC)ResultStatusTimeLive price
2026-10-11 08:30Valid 40240275 ms$0.005
2026-10-11 04:00Valid 40240290 ms$0.005
2026-10-10 23:30Valid 402402188 ms$0.005
2026-10-10 18:15Valid 40240272 ms$0.005

Receipts

No test purchases yet. Graded test purchases are next on our list; until then every number here comes from unpaid checks.

What a check proves