debug_call
Simulate contract calls without sending a transaction to catch revert reasons, out-of-gas, and division-by-zero errors before spending gas.
Instructions
Simulate a contract call (eth_call) without sending a transaction. Surfaces revert reasons, out-of-gas, division-by-zero, and other errors BEFORE you spend gas. Great for debugging Beat() and other state-changing functions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | Function arguments as strings (will be auto-encoded) | |
| value | No | ETH/PLS value to send (in wei) | |
| contract | Yes | Contract name or address | |
| from_address | No | Simulate as if calling from this address | |
| function_sig | Yes | Function signature, e.g. 'Beat()' or 'transfer(address,uint256)' |