simulate_transaction
Simulate a transaction on any EVM network to verify its success before sending, avoiding failed transactions and wasted gas.
Instructions
Simulate a transaction to check if it would succeed without actually sending it
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | The recipient address | |
| data | No | Transaction calldata as hex string | |
| from | No | The sender address (for simulation) | |
| value | No | Amount to send in ether (e.g., '0.1') | |
| network | No | Network name (e.g. 'bsc', 'opbnb', 'ethereum', 'base', etc.) or chain ID. Supports others main popular networks. Defaults to BSC mainnet. | bsc |