Bundle RPC
JSON-RPC endpoints for submitting orderflow to Ultra Sound Builder.
Rate limits
Unauthenticated requests are limited to 50 requests per minute per source IP. We are prioritizing onboarding additional orderflow: contact us for a free API token and much higher limits, then include it in the X-Api-Key header.
Bundle inclusion
Cielago considers candidate bundles greedily in descending order of their simulated total payment to the builder's coinbase address, after any configured refund. It does not rank by payment per unit of gas; lower gas use only breaks ties. Bundles are included when they fit the block's gas, blob-gas, nonce, and execution constraints.
eth_sendBundle
{
"jsonrpc": "2.0",
"id": 1,
"method": "eth_sendBundle",
"params": [
{
txs, // Array[String], signed transactions (hex) to execute atomically; may be empty to cancel a bundle
blockNumber, // (Optional) String, hex-encoded target block number; defaults to next block
revertingTxHashes, // (Optional) Array[String] or null, tx hashes allowed to revert or be discarded
droppingTxHashes, // (Optional) Array[String] or null, tx hashes allowed to be discarded but not revert
replacementUuid, // (Optional) String, identifier for replacing or canceling this bundle; `uuid` is accepted as an alias
replacementSeqNumber, // (Optional) Number, monotonically increasing sequence for bundles sharing the same `replacementUuid`. Later bundles must have a higher sequence or they are dropped. If 0 or omitted, ordering falls back to builder receive time
refundPercent, // (Optional) Number, 0–99; percent of refund-tx ETH reward to refund
refundRecipient, // (Optional) Address, refund destination; defaults to first tx sender
refundTxHashes // (Optional) Array[String] or null, max 1; the tx whose coinbase delta is the refund basis. Defaults to the last tx
}
]
}
revertingTxHashes, droppingTxHashes, and refundTxHashes may be omitted, set to null, or provided as arrays. Omitted and null values are treated as empty arrays.
If your successive bundles are improving on the previous one (as opposed to being separate candidates) we strongly recommend using replacementUuid for efficient processing.
A bundle with an empty txs array and a replacementUuid cancels the bundle carrying that identifier. The response is a bundle hash computed over the empty transaction set. eth_cancelBundle with the same replacementUuid also cancels it.
Empty-txs cancels follow the same replacementSeqNumber rule, and once a replacementUuid has a sequence number, new bundles for it without one are dropped. A dropped bundle still returns its bundle hash, but has no bundle trace.
Response:
{
"result": {
"bundleHash": "0x164d7d41f24b7f333af3b4a70b690cf93f636227165ea2b699fbb7eed09c46c7"
},
"error": null,
"id": 1
}
Bundle hash
Builder-computed identifier for the bundle. revertingTxHashes and droppingTxHashes are treated as sets — their listing order does not affect the hash.
eth_sendEndOfBlockBundle
{
"jsonrpc": "2.0",
"id": 1,
"method": "eth_sendEndOfBlockBundle",
"params": [
{
txs, // Array[String], signed transactions (hex) to execute atomically; may be empty to cancel a bundle
blockNumber, // (Optional) String, hex-encoded target block number; defaults to next block
revertingTxHashes, // (Optional) Array[String] or null, tx hashes allowed to revert or be discarded
droppingTxHashes, // (Optional) Array[String] or null, tx hashes allowed to be discarded but not revert
targetPools, // Array[String], pool addresses this bundle targets; may be omitted when canceling
targetSlots, // (Optional) Array[Array[String]], hex-encoded storage slots to target per pool, index-aligned with targetPools
replacementUuid, // (Optional) String, identifier for replacing or canceling this bundle; `uuid` is accepted as an alias
replacementSeqNumber // (Optional) Number, monotonically increasing sequence for bundles sharing the same `replacementUuid`. Later bundles must have a higher sequence or they are dropped. If 0 or omitted, ordering falls back to builder receive time
}
]
}
After building a block, the builder simulates each end-of-block bundle whose target pools were modified by the block against the end-of-block state, and appends the bundles that succeed. With targetSlots, a pool matches only when one of its listed slots was modified; an empty slot list matches any slot of that pool.
A bundle with an empty txs array and a replacementUuid cancels the end-of-block bundle carrying that identifier. The response is a bundle hash computed over the empty transaction set. eth_cancelBundle with the same replacementUuid also cancels it.
Empty-txs cancels follow the same replacementSeqNumber rule, and once a replacementUuid has a sequence number, new bundles for it without one are dropped. A dropped bundle still returns its bundle hash, but has no bundle trace.
Response:
{
"result": {
"bundleHash": "0x164d7d41f24b7f333af3b4a70b690cf93f636227165ea2b699fbb7eed09c46c7"
},
"error": null,
"id": 1
}
eth_cancelBundle
Cancels a previously submitted bundle by its replacementUuid.
{
"jsonrpc": "2.0",
"id": 1,
"method": "eth_cancelBundle",
"params": [
{
replacementUuid // String, the UUID provided when the bundle was submitted; `uuid` is accepted as an alias
}
]
}
Response:
{ "result": 200, "error": null, "id": 1 }
eth_sendRawTransaction
Submit a signed raw transaction for private inclusion.
{
"jsonrpc": "2.0",
"id": 1,
"method": "eth_sendRawTransaction",
"params": [
"0x…" // String, signed raw transaction (hex)
]
}
Response:
{ "result": 200, "error": null, "id": 1 }
eth_chainId
Returns the chain ID the builder is configured for.
{ "jsonrpc": "2.0", "id": 1, "method": "eth_chainId", "params": [] }
Response:
{ "result": "0x1", "error": null, "id": 1 }