Simulate an EVM transaction via eth_call with decoded revert
evm_simulateSimulates an EVM transaction execution without broadcasting: { chain, from, to, data, value }. Returns eth_call output, gas estimate, success/revert status with decoded revert reason (Error(string), Panic(uint256)), and token balance if to is an ERC-20. State overrides not supported by public RPCs. Information only, not financial advice. Related tools on this server, for a different need: evm_call when you need to read the result of a read-only EVM contract function; evm_tx when you need to check an EVM transaction's status, fee and token transfers. Price: $0.003 per successful call, paid with x402 (USDC on Base, Solana and 10 more networks); failed calls are not charged.
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": {
"chain": "<chain>",
"to": "<to>"
},
"name": "evm_simulate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Target contract 42-character 0x hex address | |
| data | No | Transaction calldata in 0x hex format | |
| from | No | Sender 42-character 0x hex address | |
| chain | Yes | Target EVM chain name (e.g. ethereum, base, arbitrum) | |
| value | No | Optional value in wei (hex or decimal string) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | ||
| from | No | ||
| chain | No | ||
| token | No | ||
| source | No | ||
| success | No | ||
| provider | No | ||
| checkedAt | No | ||
| disclaimer | No | ||
| returnData | No | ||
| gasEstimate | No | ||
| revertReason | No | ||
| stateOverridesSupported | No |