1s_simulate_call
Simulate contract calls via eth_call to preview results, decode return data, or detect reverts without sending a transaction.
Instructions
Simulate a contract call via eth_call without sending a transaction. Use this to preview call results, decode return data, or check for reverts before sending. Returns the raw hex result or revert reason.
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": "1s_simulate_call"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Target contract address | |
| data | Yes | ABI-encoded call data (hex) | |
| from | No | Sender address for msg.sender context | |
| value | No | ETH value in wei (hex) | |
| gas | No | Gas limit (hex) | |
| network | No | Blockchain network: "ethereum" (default), "sepolia", "avax" |