evm_tx_simulator
Simulate EVM transactions before signing to estimate gas, decode revert reasons, check ERC-20 allowances, and detect EIP-1967 proxies across Base, Ethereum, Arbitrum, Optimism, and Polygon.
Instructions
Pre-flight EVM Transaction Simulator, Gas Estimator, Revert Reason Decoder, ERC-20 Allowance Checker & EIP-1967 Proxy Detector ($0.005 USDC). Simulates any transaction via eth_call & eth_estimateGas across Base, Ethereum, Arbitrum, Optimism, and Polygon before signing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | 0x target smart contract or recipient address | |
| data | No | 0x hex calldata to simulate (default: '0x18160ddd') | |
| from | No | 0x sender wallet address | |
| chain | No | Target EVM blockchain (default: 'base') | |
| token | No | Optional 0x ERC-20 token address to verify allowance | |
| value | No | Optional native ETH value in wei or 0x hex | |
| spender | No | Optional 0x spender contract address to verify ERC-20 allowance | |
| tx_hash | No | Optional 0x transaction hash to decode receipt |