LogoLogo
  • Getting Started
  • API
    • eth_sendBundle
    • mev_sendBundle
  • eth_cancelBundle
  • eth_sendRawTransaction
  • eth_sendEndOfBlockBundle
  • Builder Public Keys
Powered by GitBook
On this page
  1. API

eth_sendBundle

{
  "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
      droppingTxHashes,  // (Optional) Array[String], A list of tx hashes that are allowed to be discarded, but may not revert
      replacementUuid,   // (Optional) String, UUID that can be used to cancel/replace this bundle
      refundPercent,     // (Optional) Number, The percent(from 0 to 99) of full bundle ETH reward that should be passed back to the user(refundRecipient) at the end of the bundle.
      refundRecipient,   // (Optional) String, Address of the wallet that will receive the ETH reward refund from this bundle, default value = EOA of the first transaction inside the bundle.
      refundTxHashes     // (Optional) Array[String], A list of tx hashes from which the refund is calculated. Defaults to final transaction in the bundle if list is not specified/empty.
    }
  ]
}

Example:

{
  "jsonrpc": "2.0",
  "id": 123,
  "method": "eth_sendBundle",
  "params": [
    {
      "txs": ["0x123abc...", "0x456def..."],
      "blockNumber": "0xb63dcd",
      "minTimestamp": 0,
      "maxTimestamp": 1615920932
    }
  ]
}

Example Response:

{
  "jsonrpc": "2.0",
  "id": "123",
  "result": {
    null
  }
}
PreviousGetting StartedNextmev_sendBundle

Last updated 29 days ago