eth_sendEndOfBlockBundle
Submit a bundle targeting one or more pools. It is included only if at least one of its target pools was modified earlier in the block. The bundle is then applied against the resulting state of those pools. It runs after the transactions that touched them, but not necessarily as the last transaction in the block.
Endpoint
https://rpc.bombora.buildClick to copy
See Getting Started for regional endpoints.
Request
{
"jsonrpc": "2.0",
"id": 1,
"method": "eth_sendEndOfBlockBundle",
"params": [
{
"txs": ["0x..."],
"targetPools": ["0x11b815efb8f581194ae79006d24e0d814b7697f6"],
"blockNumber": "0x1234567",
"revertingTxHashes": ["0x..."],
"replacementUuid": "uuid-string",
"replacementSeqNumber": 1
}
]
}Parameters
| Parameter | Required | Description |
|---|---|---|
txs | Yes | Array of signed transactions to execute in order (RLP-encoded hex). Must be non-empty. |
targetPools | Yes | Pool contract addresses this bundle targets. The bundle is only included if at least one of these pools was modified earlier in the block. |
blockNumber | No | Target block number (hex). Defaults to the next block. |
revertingTxHashes | No | Transaction hashes that are allowed to revert or be discarded without invalidating the bundle. |
replacementUuid | No | A UUID used to replace or cancel this bundle. Submitting a new bundle with the same UUID replaces the previous one. |
replacementSeqNumber | No | Monotonically increasing sequence number for bundles sharing the same replacementUuid. Later bundles must have a higher sequence or they are dropped. |
Replacement and cancellation work the same as for eth_sendBundle: resubmit with the same replacementUuid to replace, or cancel by UUID with eth_cancelBundle.
Response
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"bundleHash": "0x..."
}
}A successful response means the bundle was accepted for inclusion. It does not guarantee the bundle will be included in a block.