eth_sendBundle

The eth_sendBundle method is used to send bundles to the Blocksmith builder. Request should adhere the following payload format:

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "eth_sendBundle",
  "params": [
    {
      txs,               // Array[String], A list of signed transactions to execute in an atomic bundle
      blockNumber,       // String, a hex encoded block number for which this bundle is valid on
      minTimestamp,      // (Optional) Number, the minimum timestamp for which this bundle is valid, in seconds since the unix epoch
      maxTimestamp,      // (Optional) Number, the maximum timestamp for which this bundle is valid, in seconds since the unix epoch
      revertingTxHashes, // (Optional) Array[String], A list of tx hashes that are allowed to revert
      replacementUuid    // (Optional) String, UUID that can be used to cancel/replace this bundle
    }
  ]
}

Example response:

{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "bundleHash": "0x3261d37291073eba3d6fc87cd8b600645d872401e8bb76697d95f8e9f125d5c9"
  }
}

Last updated