simulate_transaction
Paid Transaction Preflight ($0.02 USDC on Base). Simulates an unsigned Base transaction before an autonomous agent signs or broadcasts it. Returns RPC execution/revert status, gas estimate, known top-level method decoding, direct ERC-20 transfer/approval calldata, unlimited approval warnings, and machine-readable risk. Standard JSON-RPC does not expose full internal token state changes; do not treat calldata decoding as a complete state diff. Never send a private key or seed phrase. This tool never signs, holds keys, or broadcasts.
Agent entry points: risky external action → use Agent Action Gate when a combined action-specific safety assessment is needed; unclear capability/provider → use free /api/discover; constrained comparison between callable alternatives → use paid route_tool; known single capability → call the direct tool; multi-step objective → read the matching workflow recipe and call only relevant steps. Workflows are stateless recipes, not executors; calls are paid separately and are not bundle charged. Agent Action Gate does not approve payment, sign or broadcast transactions, evaluate seller reputation, replace transaction simulation, replace route_tool, or replace human approval.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ||
| data | Yes | ||
| from | Yes | ||
| chain | Yes | ||
| value | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| meta | No | ||
| next | No | ||
| chain | Yes | ||
| error | No | ||
| cached | Yes | ||
| result | No | ||
| status | No | ||
| payment | No | ||
| success | Yes | ||
| agent_ux | No | ||
| chain_id | Yes | ||
| degraded | Yes | ||
| warnings | Yes | ||
| approvals | Yes | ||
| checked_at | Yes | ||
| risk_level | Yes | ||
| risk_score | Yes | ||
| estimated_gas | Yes | ||
| gas_price_wei | Yes | ||
| revert_reason | Yes | ||
| analysis_scope | Yes | ||
| contract_calls | Yes | ||
| recommendation | Yes | ||
| simulated_block | Yes | ||
| token_transfers | Yes | ||
| estimated_usd_cost | Yes | ||
| simulation_success | Yes | ||
| contract_reputation | Yes | ||
| estimated_native_cost | Yes | ||
| native_balance_changes | Yes |