Documentation Index Fetch the complete documentation index at: https://base-a060aa97-roethke-update-v0-8-0.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Simulates one or more transaction bundles against the current pre-confirmed Flashblock state. Supports state overrides, multi-block simulation, and optional transfer tracing.
Only available on Flashblocks endpoints: https://mainnet-preconf.base.org / https://sepolia-preconf.base.org.
Parameters
The simulation configuration. Show Simulation payload fields
Array of block state call objects. Each object represents one simulated block. Show Block state call fields
Array of transaction call objects to simulate within this block.
Per-address state overrides applied before simulation (e.g., balance, nonce, code, storage). Optional.
Block-level overrides (e.g., number, timestamp). Optional.
If true, ETH transfer events are included as logs in the result. Defaults to false.
If true, transaction validation (nonce, balance) is enforced. Defaults to false.
Use "pending" to simulate against the current Flashblock state.
Returns
Array of simulated block results, one per entry in blockStateCalls. Simulated block number (hex).
Total gas used across all calls in this simulated block (hex).
Base fee per gas for this simulated block (hex).
Array of individual call results. "0x1" for success, "0x0" for failure.
Gas used by this call (hex).
Hex-encoded return data from the call.
Logs emitted by this call. Includes ETH transfer logs if traceTransfers is true.
Present if the call reverted. Contains message (string) and code (number).
Example
curl https://sepolia-preconf.base.org \
-X POST \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "eth_simulateV1",
"params": [
{
"blockStateCalls": [
{
"calls": [{"to": "0x...", "data": "0x..."}],
"stateOverrides": {}
}
],
"traceTransfers": true,
"validation": true
},
"pending"
],
"id": 1
}'