← Back to all APIs

Tx Simulation

$0.004

Unsigned Base transaction preflight: eth_call preview, gas estimate, balance and code checks, ERC-20 transfer/approve decoding, PASS/REVIEW/FAIL verdict. Never signs or broadcasts.

POST https://x402.freeq.one/tools/tx_simulation
Try it (x402 payment flow)

⚡ Try with your wallet — live payment

curl -X POST https://x402.freeq.one/tools/tx_simulation \ -H "Content-Type: application/json" \ -d '{"from":"0x90b0dc893406d6ea63bb077ed59f5e8340f98d84","to":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","value_wei":"0","data":"0xa9059cbb","gas":100000}'

Without payment, the server returns 402 Payment Required with x402 challenge details. A paying agent signs a USDC transaction on Base and retries with the payment header.