simulate_transaction
Simulate a transaction without executing it. Returns success or revert and gas estimate for a given calldata and sender.
Instructions
Dry-run an unsigned tx. Returns success/revert and gas estimate. Requires any Floe API key (agent floe_... or developer floe_live_...).
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": {
"from": "<from>",
"to": "<to>",
"data": "<data>"
},
"name": "simulate_transaction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Contract address | |
| data | Yes | Encoded calldata (0x hex) | |
| from | Yes | Signing address (msg.sender) | |
| value | No | ETH value in hex | 0x0 |