Project builders on Ethereum can use theDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/BlockRazorinc/docs_en/llms.txt
Use this file to discover all available pages before exploring further.
eth_sendBundle method to submit an ordered group of signed transactions for atomic inclusion in a target block. Unlike standard transaction submission, bundles guarantee that all included transactions execute together in sequence—if any transaction fails, the entire bundle is excluded from the block. Optional timestamp bounds and a revert-allowlist give builders fine-grained control over when a bundle is valid and which transactions are permitted to revert without invalidating the rest.
The Ethereum Bundle service is available to all new registered users at no cost. See Pricing for details on subscription tiers and advanced features.
Endpoint
Authorization header.
Request
The request follows the standard JSON-RPC 2.0 envelope. The single element ofparams is a bundle object with the fields described below.
Bundle Parameters
An ordered array of signed raw transactions encoded as hex strings (each prefixed with
0x). Transactions execute sequentially and atomically in the order provided. A revert in any transaction causes the entire bundle to be dropped, unless the transaction’s hash is listed in revertingTxHashes.The target block number for bundle inclusion, expressed as a hex string (e.g.,
"0x12A05F0"). The bundle is only eligible for the specified block and is discarded if that block passes without inclusion.Optional. The minimum Unix timestamp (in seconds) at which the bundle becomes valid. If the target block’s timestamp is earlier than this value, the bundle will not be included. Useful for time-gated strategies.
Optional. The maximum Unix timestamp (in seconds) beyond which the bundle is no longer valid. If the target block’s timestamp exceeds this value, the bundle will not be included. Combine with
minTimestamp to define a precise validity window.Optional. An array of transaction hashes (from within
txs) that are permitted to revert without causing the entire bundle to be discarded. This allows partial-revert tolerance for multi-step strategies where some steps are best-effort.Code Examples
Response
A successful submission returns abundleHash that uniquely identifies the submitted bundle within BlockRazor’s infrastructure.
A unique hash representing the submitted bundle. Retain this value to track bundle inclusion status or to reference the bundle in tracing and analytics tools.
Response Example
Timestamp Window Usage
TheminTimestamp and maxTimestamp fields let project builders create bundles that are only valid during a specific time range. This is particularly useful when a strategy depends on off-chain state (such as an oracle price) that may only be favorable for a limited time window.
Ethereum block timestamps are set by the block proposer and may not match wall clock time exactly. Build in a small buffer around your target window to account for minor timestamp variance between consecutive blocks.