simulate_transaction
Dry-run an EVM transaction without signing to validate policy and fee caps, balance coverage, and revert risk before submission.
Instructions
Dry-run an EVM transaction with nothing signed: the local guards (native cap, token cap, fee cap), the spend policy, the node's gas estimate (which fails when the call would revert), the worst-case fee, whether the balance covers it, and the call's return data. Local mode runs the full check; hosted mode runs the policy and an eth_call.
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": {
"wallet_id": "<wallet_id>",
"to": "<to>",
"chain_id": "<chain_id>"
},
"name": "simulate_transaction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Destination address | |
| data | No | Optional calldata (0x-prefixed hex) | |
| value | No | Native amount in human units (e.g. "0.01" ETH) | 0 |
| chain_id | Yes | EVM chain ID | |
| wallet_id | Yes | Wallet ID (ignored in local mode) |