evm_simulate_bundle
Simulate Flashbots bundle execution off-chain to verify profitability, check atomicity, and catch reverts before submission.
Instructions
Simulate Flashbots bundle execution before submission.
Tests bundle transactions off-chain to verify profitability and prevent reverts. Ethereum-focused but provides insights for other chains.
PARAMETERS:
chain: Target EVM chain (Ethereum recommended)
transactions: Array of transaction objects to bundle
targetBlock: Block number for simulation
stateBlockNumber: Block to use for state (optional)
SIMULATION: • Validates bundle atomicity • Checks for reverts • Estimates profit and costs • Detects conflicts with pending transactions
Returns simulation results, profit estimates, and revert analysis.
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>",
"transactions": "<transactions>",
"targetBlock": "<targetBlock>"
},
"name": "evm_simulate_bundle"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | Yes | ||
| targetBlock | Yes | Target block for bundle | |
| transactions | Yes | Transactions to bundle | |
| stateBlockNumber | No | Block for state simulation |