eth_sendBundle - Robinhood

eth_sendBundle. Submits a bundle of transactions to be included atomically, typically used with MEV relays/builders.

eth_sendBundle - robinhood [Value: 20CU]
Submits a list of signed transactions to be included atomically, in order, in a specific block
Use cases

Use cases

  • Send a private transaction sequence that bypasses the public mempool
  • Guarantee strict ordering between two or more dependent transactions
Constraints

Constraints

  • The bundle is only valid for the specific blockNumber supplied
  • Any transaction reverting invalidates the whole bundle unless listed in revertingTxHashes
Get started
Unlock Access to 100+ chains
Boost your app's speed and reliability with dRPC - get your access API key

Language

Request
Examples
curl https://lb.drpc.live/robinhood/{API-KEY} \
-X POST \
-H "Content-Type: application/json" \
-d '{"method":"eth_sendBundle",
    "params":[{"txs": ["0x02f86c0180843b9aca008502540be4008252089400000000000000000000000000000000000000008080c001a0...", "0x02f86c0180843b9aca008502540be4008252089400000000000000000000000000000000000000008080c001a0..."], "blockNumber": "0xb63dcd", "minTimestamp": 0, "maxTimestamp": 1615920932}],
    "id":1,
    "jsonrpc":"2.0"}'
Copy
Response
200
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "bundleHash": "0x2228f5d8954ce31dc1601a8ba264dbd401bf1428388ce88238932815c5d6f23f"
  }
}
Copy

Request params

idinteger
jsonrpcstring
methodstring
Parametersarray
array
bundleobject
The bundle of transactions to submit.
array
txsarray_of_strings
The signed, RLP-encoded transactions to execute atomically, in order.
blockNumberstring
The block the bundle is valid for, as a hex string.
minTimestampinteger
(optional) The minimum block timestamp, in Unix seconds, for which the bundle is valid.
maxTimestampinteger
(optional) The maximum block timestamp, in Unix seconds, for which the bundle is valid.
revertingTxHashesarray_of_strings
(optional) Hashes of transactions in the bundle that are allowed to revert without invalidating it.

Response

200
The hash identifying the submitted bundle

Response params

object
idinteger
jsonrpcstring
resultobject
The result of the bundle submission.
object
bundleHashstring
The hash of the submitted bundle.