simulateTransaction
Runs eth_call state simulation against the Base blockchain RPC to check for transaction reverts. Matches: EVM revert checks, test contract call, inspect transaction failure, dry-run solidity method, gas estimator, test token swap failure, simulate multisig transaction execution.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"to": "<to>",
"data": "<data>"
},
"name": "simulateTransaction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Target contract address | |
| data | Yes | Call data payload in hex | |
| from | No | Sender address used by the eth_call | |
| value | No | Call value in hex |