← Back to directory

Simulate an UNSIGNED transaction against live Base state before an agent signs: ...

https://402.com.tr/api/x402/simulate-tx

Overview

Simulate an UNSIGNED transaction against live Base state before an agent signs: will it SUCCEED or revert (with the contract's own reason), the gas estimate and ETH cost, and — decoded from the calldata — whether it grants an approval, and whether that approval is UNLIMITED (approve/permit) or a setApprovalForAll, the classic drain vectors. Pass from, to, and optionally data (calldata) + value. The pre-execution check the agent-safety playbook says to run and block on. Not financial advice.

Protocol x402
Price $0.03
Payment Asset USD Coin
Payment Network eip155:8453
Category crypto/transactions
Provider Transaction Simulation
Source bazaar
Indexed 2026-10-09 04:31:02

Health

Status healthy
Latency (p50) 876ms
Uptime (30d) 93.3%
Reliability Score 86.7/100
Last Checked 2026-10-28 06:57:38
Last Healthy 2026-10-28 06:57:38
Consecutive Failures 0

x402 Payment Validation

Payment Requirements Valid
Asset Verified Known USDC
Facilitator —

Input Schema

{ "method": "GET", "queryParams": { "data": "0x095ea7b3000000000000000000000000cf77a3ba9a5ca399b7c97c74d54e5b1beb874e430000000000000000000000000000000000000000000000000000000000000000", "from": "0x973a31858f4d2125f48c880542da11a2796f12d6", "to": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913" }, "type": "http" }

Output Schema

{ "example": { "from": "0x973A31858f4D2125f48C880542DA11a2796f12D6", "gasCostEth": "0.000000215172", "gasEstimate": "35862", "method": "approve", "revertReason": null, "riskLevel": "medium", "to": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913", "willSucceed": true }, "type": "json" }