Documentation Index Fetch the complete documentation index at: https://base-a060aa97-meyer9-discv5-p2p-protocol-id.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. Array of individual call results. "0x1" for success, "0x0" for failure.
Gas used as a hexadecimal integer.
Logs emitted (including ETH transfer logs if traceTransfers is true).
Revert reason if the call failed. Optional.
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
}'