Mev Zone
  • Welcome
  • Getting Started
    • Introduction
    • New To Mev?
    • Sending Bundles
  • Mev Zone Block Builder
    • Overview
    • Send Bundle
    • Call Bundle
    • Send Private Transaction
  • Mev Zone Protect
    • Overview
  • Mev Zone Validators
    • What is the MEV Client
    • Run the MEV Client
Powered by GitBook
On this page
  • Request Example
  • Response Example
  1. Mev Zone Block Builder

Call Bundle

This API is used to receive requests for simulating bundles. The method name is eth_callBundle.

Request Example

{
  "jsonrpc": "2.0",
  "id": "1",
  "method": "eth_callBundle",
  "params": [
    {
      "txs":["0x…1b"],       // List of signed raw transactions
      "blockNumber":12345,   // Current block number + 1
    }
  ]
}‍

Response Example

{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "bundleHash": "0x1234",
    "ethSentToBuilder": "1234",
    "gasFees": "1234",
    "results": [
      {
        "ethSentToBuilder": "1234",
        "fromAddress": "0x1234",
        "gasFees": "1234",
        "gasPrice": "1234",
        "gasUsed": 1234,
        "toAddress": "0x1234",
        "txHash": "0x1234",
        "value": "0x"
      }
    ],
    "stateBlockNumber": 1234,
    "totalGasUsed": 1234
  }
}
PreviousSend BundleNextSend Private Transaction

Last updated 4 months ago