safety_simulate
Transaction simulation: will this tx succeed or revert, and why? Returns success/revert reason, return data, and decoded action. Send { chain, to, data, from?, value? }. Dry-run before signing. [x402 paid tool — price $0.05; POST /api/safety/simulate]
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | 0x target address | |
| data | No | 0x calldata | |
| from | No | 0x sender | |
| chain | No | Chain, default base | |
| value | No | Native value in wei |