Overview
Bundle provides type-safe construction and manipulation of MEV bundles for strategies like arbitrage, liquidations, and backrunning. Bundles guarantee atomic execution - either all transactions succeed in order, or none are included.- Type Definition
- BundleLike Input
Quick Start
- Create Bundle
- Add Transactions
- Submit to Flashbots
API Reference
Constructors
Methods
Bundle Options
Practical Examples
Sandwich Attack Bundle
Arbitrage with Revert Protection
Time-Bounded Bundle
Computing Bundle Hash
Building Bundle Incrementally
Error Handling
Bundle provides typed errors that extend the Voltaire error hierarchy:Error Types
Flashbots RPC Format
ThetoFlashbotsParams method converts bundles to the format expected by Flashbots relays:
Related
Transaction
Transaction encoding and signing
Keccak256
Required for bundle hashing
Hash
32-byte hash type for tx hashes
Flashbots Docs
Flashbots Auction documentation

