simulate_transaction
Preview a Base call before sending. $0.01 per call. Never sends — simulation only.
Runs eth_call + eth_estimateGas against the given call. Decodes Error(string) and Panic(uint256) revert reasons in plain language.
to: contract/address to call data: calldata, hex string starting with 0x (default empty call) value: ETH to send along, hex wei string (default 0x0) from_address: address to simulate as sender (optional)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ||
| data | No | 0x | |
| value | No | 0x0 | |
| from_address | No |