simulate_transaction_oracle
Simulate EVM transactions before broadcasting to detect failures, decode exact Solidity revert reasons, and estimate gas costs.
Instructions
[Cost: $0.0010 USDC on Base & Solana] Pre-flight EVM transaction simulator & revert decoder.
Detects if contract calls succeed or revert, decodes exact Solidity error reasons, and estimates gas costs before broadcasting.
Actions & Parameters:
- 'simulate': Full call execution. Params: {"to": "0x...", "from": "0x...", "data": "0x...", "value": 0, "chain": "base"|"ethereum"|"arbitrum"|"polygon"}
- 'estimate_gas': Gas estimation. Params: {"to": "0x...", "data": "0x...", "chain": "base"}
- 'decode_revert': Offline hex decoder. Params: {"hex_data": "0x08c379a0..."} [Free]
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "simulate_transaction_oracle"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | simulate | |
| params | No | ||
| payment_signature | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |