preview_transaction
Preview any transaction before execution to verify authorization, simulate for reverts, and assess gas and risk.
Instructions
Preview an arbitrary transaction (native value + optional calldata) before executing. Returns the decoded call (who/what is authorized), a pre-sign simulation (revert check), gas, and a risk level.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Recipient / contract address | |
| data | No | Calldata as 0x-hex; empty for a native value transfer | |
| value | Yes | Native value in wei | |
| chain_id | Yes | Chain ID |