eth_simulateV1 - Base RPC Method
Simulate transaction bundles against canonical Base state. Useful for previewing complex multi-call outcomes before submitting.
Base RPC endpoint: endpoint URLs, plans and pricing.
Simulates one or more transaction bundles against canonical Base state. Returns simulated block results with call status, gas used, return data, logs, and errors — without broadcasting anything onchain.
Use Cases
- Transaction preview — Verify a swap or transfer will succeed before sending
- Multi-call simulation — Simulate a sequence of dependent transactions atomically
- State override testing — Override account balances or contract storage for what-if analysis
- Gas estimation — Get precise gas usage for complex call sequences
{
"jsonrpc": "2.0",
"method": "eth_simulateV1",
"params": [
{
"blockStateCalls": [
{
"calls": [
{
"from": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
"to": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"data": "0x70a08231000000000000000000000000d8dA6BF26964aF9D7eEd9e03E53415D37aA96045"
}
]
}
],
"traceTransfers": true,
"validation": false
},
"latest"
],
"id": 1
}Code Examples
Related Methods
eth_call— Execute a single read-only calleth_estimateGas— Estimate gas for a transactioneth_sendRawTransactionSync— Send a transaction and wait for block inclusion
Need help? Contact our support team or check the Base documentation.
eth_sendRawTransactionSync - Base RPC Method
Submit a signed transaction and wait synchronously for block inclusion on Base. Returns a full receipt instead of just a transaction hash.
base_transactionStatus - Base RPC Method
Check whether a transaction exists in the Base mempool. Part of the base_ namespace.